I want to open a GOOGLE page without recording a test in
QTP.Can any one answer me?

Answers were Sorted based on User's Feedback



I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?..

Answer / rico

Set Wsh = CreateObject("Wscript.Shell")
Wsh.run "iexplore google.com"

Is This Answer Correct ?    14 Yes 0 No

I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?..

Answer / siva

Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate "http://www.yahoo.com"

Is This Answer Correct ?    11 Yes 1 No

I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?..

Answer / saurabh

Use the below code
systemutil.Run "C:\Program Files\Internet
Explorer\IEXPLORE.EXE", "www.google.com"

Is This Answer Correct ?    10 Yes 2 No

I want to open a GOOGLE page without recording a test in QTP.Can any one answer me?..

Answer / bhavanim26

Thank you surabh.
And i do not want to use system.Util.run command as well
how do i do this?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

When u r running a script , if u get a popup window that describing that u have received a mail to your outlook application. so to avoid the interference of the popup window , which recovery scenario(popup,object state,application hang,system crash) would u use ?

4 Answers   Accenture,


normally by going through the object properties in object spy we write descriptive programming(correct me if i am wrong). But how or from where can we get the object properties in the object spy?plzzzzzz do answer

2 Answers  


Mention the test steps of qtp.

0 Answers  


What does it mean when a check point is in red color? What do you do?

0 Answers  


What does ".mst" stands for? (abc.mst)

3 Answers   Infosys,






How u connect bugzilla with QTP

1 Answers   Deloitte, TCS, Wipro,


I have a list box which contains duplicate values e.g. A,A,A,B,B,B,C,C,C.Now write a code in qtp to test the list box . Scenario #1 : I have to check whether any values are there? Scenario #2 : If duplicate values are there,then how many time it is getting duplicated? Svenario #3 : how can I test presence of items in list box ommiting duplicate values?

6 Answers   NIIT,


Does quicktest professional is unicode compatible?

0 Answers  


What is data driver in qtp? Where we use it?

0 Answers  


Explain in brief about the qtp automation object model (aom).

0 Answers  


Can anyone explain me about child objects in detail;when they are used and why do we need them ? please give me sample code for this if possible.

1 Answers   Virtusa,


How to get data from excel sheet to the script? write the script.

6 Answers   Ever, Liquid Hub,


Categories