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

How to supress warnings from the "Test results page"?

4 Answers  


Discuss quicktest professional (qtp) environment?

0 Answers  


wht is Automation testing frame work. pls explain it

3 Answers   Wipro,


How many lines of code in each script of QTP?

0 Answers  


I encountered with very strange problem in qtp while writing the script i written the code window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit this code was working fine for about 10-15 times i executed the script but after some time qtp started giving the error with the same code the error is "Object doesnt support this method or function window(...).window(..)" then i modified the code with only window"regexpwndtitle:=Open").Exit in place of window"regexpwndclass:=XLMAIN").window"regexpwndtitle:=Open" ).Exit now again its working fine i cannot understand what thing is creating the problem if same code executed successfully in starting for about 10 times then why it is giving the error now can anyone give the reason .

0 Answers  






from what stage you will start automation in your project

5 Answers   TCS,


how to download mercury qtp9.2 ny internet ?

0 Answers  


what is Business Process Testing plz explain?

7 Answers   iFlex,


What is a data driven test in qtp?

0 Answers  


could any help me please, how to work on visual foxpro application using UFT

0 Answers   NA,


What is iteration? How it is related to Test Results in QTP

3 Answers   Virinchi Technologies,


What is the standard timing delay for web based application in qtp?

0 Answers  


Categories