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

difference Between LowLevel and Normal Recording Modes?

4 Answers  


If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script. Please send the answers...

5 Answers   HCL,


What is the Difference between current version of QTP and QTP 8.2. Pls kidly Anybody let me know. Thanks in advance.

1 Answers   TCS,


What are the advantages of a Hybrid framework?

0 Answers  


How we can do Batch testing in QTP?

6 Answers   Kanbay,


banking domain description for software tester for interview

0 Answers   Semantic Space,


hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]

0 Answers   Accenture,


What is the main disadvantage of using low level and Analog modes?

2 Answers  


In a page i have N number of links at a time i would like to open those links by using QTP?how to do that?

2 Answers   Wipro,


How many types of parameters are available in quicktest professional?

0 Answers  


What is the process of synchronizing qtp and aut?

0 Answers  


What is the diff between doing parametarisation using Data Driven wizard or manually. when do we go for manual para...and when do we use Data driver wizard..can anybody answer it ..Thanks in advance

6 Answers   Siemens,


Categories