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
Answer / rico
Set Wsh = CreateObject("Wscript.Shell")
Wsh.run "iexplore google.com"
| Is This Answer Correct ? | 13 Yes | 3 No |
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 |
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 |
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 |
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 |
Answer / manchk
Set Wsh = CreateObject("Wscript.Shell")
Wsh.run "cmd iexplore google.com"
| Is This Answer Correct ? | 1 Yes | 1 No |
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 |
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 |
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 |
difference Between LowLevel and Normal Recording Modes?
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...
What is the Difference between current version of QTP and QTP 8.2. Pls kidly Anybody let me know. Thanks in advance.
What are the advantages of a Hybrid framework?
How we can do Batch testing in QTP?
banking domain description for software tester for interview
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
What is the main disadvantage of using low level and Analog modes?
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?
How many types of parameters are available in quicktest professional?
What is the process of synchronizing qtp and aut?
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