Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I want to open a Google page without recording a test and i
do not want to use system.Util.run command as well how do i
do this?

Answers were Sorted based on User's Feedback



I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / rico

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

Is This Answer Correct ?    13 Yes 3 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / rico

here is the one other way do this

Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate "http://Google.Com"
Set IE = Nothing

Is This Answer Correct ?    9 Yes 0 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / mreddy

Hi Bhavani and Reco try this.

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

Regards,
Muni

Is This Answer Correct ?    4 Yes 0 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / sanurajps

Hi,

Try this one..

Set MyObj = CreateObject("WScript.Shell")
MyObj.Run "www.google.com"


Sanu.

Is This Answer Correct ?    2 Yes 0 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / kalyan

What Rico told is exactly correct. We can use below
function as a generic function. So when ever required we
will call them with differnt url"s.

function navbr(url)

Set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
IE.Navigate (url)
Set IE = Nothing

end function



Any doubts I wil explain with pleasure.
mskalyan.smile@gmail.com

Is This Answer Correct ?    2 Yes 0 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / srinivas

"invokeapplication C:/program/.../..../.." 100% it will work

Is This Answer Correct ?    1 Yes 0 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / manchk

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

Is This Answer Correct ?    1 Yes 1 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / prashant kumar

Kindly tell me the whole format.
I have tried this but some error like "Set Wsh is not a
valid internal or external command" is coming.

and for the answer no. 9 ,,,,,,,,, where should I need to
enter these commands ?

Keen to know the answer...............

Is This Answer Correct ?    0 Yes 0 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / sushil

you can use command 'invokeapplication' or best way is u
can add url of application in 'run and record
setting'...there is one option 'record and run only
on'.....after setting this you start recording...and
webpage opens up automatically

Is This Answer Correct ?    0 Yes 1 No

I want to open a Google page without recording a test and i do not want to use system.Util.run com..

Answer / babu

Hi,
I executed the script mentioned above to open Google. It is
working for me.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More QTP Interview Questions

What is keyword view in qtp?

0 Answers  


please tellme ordernal identifiers in QTP?

2 Answers  


how to test one edit box using Java addin for Web Applications? write script?

1 Answers   IBM,


While recording a login window QTP is identifying only parent window,then how can u identify the child objects.

2 Answers   Symphony,


How to creating an output value using quicktest professional (qtp)?

0 Answers  


how to capture the run time values of web table.

3 Answers   CTS,


does automation replace manual testing?

2 Answers  


please send detail navigation for merging of object ripositories in QTP 8.2

3 Answers   Infosys, Ordain Solutions,


how to create the varibles and how these are connect to qtp? plz tell me

3 Answers  


Why we load add-ins in qtp?

0 Answers  


how we connect oracle or sql data server database to qtp.

4 Answers   TCS,


What is the process of synchronizing qtp and aut?

0 Answers  


Categories