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 |
In this bellow script QTP is not able to getting no. of Links from my Browser. Set desc=description.create desc("micclass").value="Link" Set obj=Browser("creationtime:=0").page("title:=.*").childobjects(desc) msgbox obj.count I am getting "General Run Error".Why QTP is not supporting my Browser,but its running fine in other system.Please help me to overcome this problem.
i want click on a link which is in 3rd row and 2nd column of a web table.write script to execute
What are the types of properties that quick test learns while recording?
recording is not a good programming practice.How to write effective script without recording.Which is the correct method explain in detail
what is throw object ?
In my application there is a billing thru credit card. how to validate the credit card details(min balance,credit card no,card holder name).if these details are valid then only that booking will be done.how to validate these details thru automation or manual?
how to test load test and block box testing an a web based application pls give ans briefly
how to test Web application using QTP software
How to define array in qtp?
dears, I have one question for QTP.If my software is english and defined objects is english name. But, if my software has support MUI, under this case that my objects in the QTP can't work, because the QTP can't catch the objects name. In this case, is anybody know how to solve this problem? Thanks a lot.
What is post recovery scenario?
What is the use of text output value in quicktest professional?