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


Please Help Members By Posting Answers For Below Questions

In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?

1458


What is data driver in qtp?

578


how to prepared for first for the first interview?

1801


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1381


What are the differences between qtp and winrunner?

539






How to break the object spy ?

666


Explain how Selenium is different from UFT?

697


How can get count of list box?

637


What are some test assets and related extensions of qtp?

561


Explain the check points in quicktest professional (qtp)?

562


How can you identify the browser and its information using the qtp script?

587


Give the syntax to load function at run time.

634


Explain actions in qtp ?

562


How to use userdifined environment variables.Once we created in Environment tab which is at File--> Settings-- >Environment-->Userdifined

1467


How to export quicktest professional results to an .xls file?

576