when we enter url,one page should open.write a vb script
,that page is open or not
Answer Posted / leena
Browser is open with blank home page
Browser("version:=internet explorer
6", "Title:=about:blank", "openurl:=about:blank").Navigate
("http://www.google.com/")
Dim a
a=Browser("version:=internet explorer
6", "Title:=Google", "openurl:=about:blank", "name:=Google")
.Page("Title:=Google", "url:=http://www.google.co.in").Exist
if a="True" then
msgbox " Page is open"
else
msg "Page is not open"
| Is This Answer Correct ? | 1 Yes | 4 No |
Post New Answer View All Answers
In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?
How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..
Will there be any standards or requirements for page appearance and/or graphics throughout a site or parts of a site?
How many types of actions are there in quicktest professional?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
What is a recovery scenario?
Hi Frenz... I would like to take up the QTP certification . Can anyone tell me what is the procedure. n if anybody have the study materials pls fwd it to jkpunathil@gmail.com
They asked by using qtp recording writing scripting
What is different command used in command Prompt while using QTP?
I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?
What is text check point and text area check point?
How to get popup error message.
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
Can I change properties of a test object?