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



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

Answer / 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

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

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

Post New Answer

More QTP Interview Questions

write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


What is diff. between ordinal identifier INDEX and Location?

3 Answers  


What is the difference between QTP 8.2 and QTP 9.2 ?

4 Answers   IBM, Infotech,


I want to learn QTP Online, where can I get quality training?

15 Answers   CSC,


Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.

1 Answers  






How to execute a WinRunner Script in QTP?

1 Answers   Crea,


difference Between Call Run action and copy of action?

3 Answers   Quest,


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

0 Answers   FIS,


anyone can explain about "Hybrid framework" in QTP

5 Answers  


How can the expected image for a bitmap checkpoint be recaptured in QTP

2 Answers   Ordain Solutions,


hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script

4 Answers  


How do you data drive an external spreadsheet?

1 Answers  


Categories