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 to Install QTP on Citrix Environment? Possible send me the installation steps.. That would be great help
write a script to verify the image path(src property) of the images which are in web pages.
What are the check points can be inserted without recording?
When The Low Level Recording is Used in QTP
What is data driver in qtp? Where we use it?
How to count the no of objects in XML file(QTP)
in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha
Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?
How to use Regular Expressions in QTP
what is the purpose of QTP?
what questions i have to pripare for project manager round interview ? plz give Ans.(Chandana)
How to open a new test using QTP?