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

Hi Friends this is kumar i would like to request to all of you ,please help me to explain real time project with using qtp scripts i know basics of qtp but it won't workout on interviews,pls help awating to reply.

0 Answers   SoftTech,


What is system testing and what are the different types of tests you perform in system testing?

0 Answers  


What is the Difference Between Quick Test Pro and Quick test professional?

5 Answers   Infotech,


What is quick test pro?

0 Answers  


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?

0 Answers  






how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

0 Answers  


I am using environment variable xml to give credenatials for login into unix. Is there any way we cam mask the password in the xml?

0 Answers  


How to handle dynamic objects in quicktest professional (qtp)?

0 Answers  


Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please

0 Answers   IBM,


Hi, I am new to QTP and vb.script.How to start to write vb.script in QTP? Please give me suggestions?

3 Answers  


Which object repository we use in real time and can we merge 2 object repostiory and how?

3 Answers  


IF there are seven browsers with same name open. I want to close one particular browser thru QTP. how can i do this?

3 Answers   Polaris,


Categories