when we enter url,one page should open.write a vb script
,that page is open or not
Answers were Sorted based on User's Feedback
SystemUtil.Run "C:\Program Files\Internet
Explorer\iexplore.exe","","C:\Program Files\Internet
Explorer","open"
Browser("title:=about:blank").Page("url:=about:blank").Sync
Browser
("title:=about:blank").Navigate "http://www.google.com/"
If Browser("title:=Google").Page("title:=Google").Exist then
msgbox "Page Exists"
else
msgbox "Page does not Exist"
end if
Is This Answer Correct ? | 6 Yes | 2 No |
Answer / 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 |
How QTP recognizes Objects in AUT?
i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages
How can i see test results in excel sheet ? test data not present in data table.
It is a SQL question. Write a query to find top three salaries in an EMP TABLE?
what is the difference between ClassName and class in QTP?
What is diffrence between Global variables and Environment variables...Anybody can give me answer..Thanks in advance..
In key word driven framework,we will rename the logical names of objects,why?
is qtp 9.2 create the scripts with the application run on mozilla firefox browser?
how do close the task manager through QTP?
What is quicktest professional (qtp)?
i have written some lines of code today..tommorow some lines of code deleted in middle of that code..how to handle this type of script
does qtp need record and playback in realtime. plz tell exactly wat happens