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 the syntax to call one script from another?

540


Get the count of files of similar types from a folder.

975


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

1955


how to find that a file has been completely downloaded or not? I told that "download Complete" pop up. but he told the tool doesn't recognize the pop up

3774


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

1467






What is the descriptive programming?

1516


How to release all resources file from the QTP?

1055


Explain sub procedure of vbscript.

590


What is test object model in quicktest professional?

623


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1359


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

621


Explain the terms test and business component?

550


Can we record an application running on a remote machine using qtp?

723


How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))

1669


what type of framework u r using in ur organization

1653