when we enter url,one page should open.write a vb script
,that page is open or not

Answer Posted / sri satya

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is keyword view in qtp?

546


How to creating an output value using quicktest professional?

538


what is the difference between built-i function and In-built function?

1627


how do u plan test automation?

1439


requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how

1469






i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1455


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3435


What is the difference between per-action and shared?

586


if there is a web table of having row and colmns.a button is placed at 2nd row's 3rd column which is worked for both edit and delete..how to write script for the button to test both operation on the web table using desriptive programing.. plz help me on script wheather using getroproperty Q2)what is the command for taking valiue from a web table in qtp

23900


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

1940


How do you create new test sets in td?

529


Why script error occur in between recording in qtp?

1761


Why to use descriptive programming?

557


What is Test Fusion Report in QTP?

614


what are the challenges you have faced while testing web based application using the automation tools ?

588