ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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?
 Question Submitted By :: Bhavanim26
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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?
Answer
# 1
Set Wsh = CreateObject("Wscript.Shell")
Wsh.run "iexplore google.com"
 
Is This Answer Correct ?    5 Yes 2 No
Rico
 
  Re: 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?
Answer
# 2
I tried the first answer. 
Command 1 Running but the Second command is not working.
 
Is This Answer Correct ?    0 Yes 0 No
P
 
 
 
  Re: 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?
Answer
# 3
Hi,
I executed the script mentioned above to open Google. It is 
working for me.
 
Is This Answer Correct ?    0 Yes 1 No
Babu
 
  Re: 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?
Answer
# 4
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 ?    2 Yes 0 No
Rico
 
  Re: 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?
Answer
# 5
Set Wsh = CreateObject("Wscript.Shell")
Wsh.run "cmd iexplore google.com"
 
Is This Answer Correct ?    0 Yes 0 No
Manchk
 
  Re: 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?
Answer
# 6
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 0 No
Sushil
 
  Re: 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?
Answer
# 7
Hi Bhavani and Reco try this.

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

Regards,
Muni
 
Is This Answer Correct ?    2 Yes 0 No
Mreddy
 
  Re: 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?
Answer
# 8
Hi,

Try this one..

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


Sanu.
 
Is This Answer Correct ?    2 Yes 0 No
Sanurajps
 
  Re: 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?
Answer
# 9
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
Kalyan
 
  Re: 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?
Answer
# 10
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
Prashant Kumar
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
is it possible to operate(on/off)the capslock using qtp  2
How we can merge the object repositories?say if we have two or three object repositories then how e can merge them? is there any option in Qtp to merge the object repositories BirlaSoft4
How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne... IBM2
How the automated tests in org Maintec1
what is the difference between action and function BirlaSoft8
How to connect QTP to Testdirector Polaris4
If QTP not recognizing using repository while executing, how can we go forward  3
What is test automation framework?which framework does QTP follow?Need some practical explanation as to how u will start ur testing process following a particular framework? Sony2
I need diffrences between Object Identification, Smart Identification, Regular expresion,Low-Level Recording (enables you to record on any object in your application, whether or not QuickTest recognizes the specific object or the specific operation.) I am working on Web Application. In that object caption will change dynamically. For example, consider “Save” button. On clicking save button the caption changing as “ EDIT ”. From above concept which concept I have to use here? Ordain-Solutions2
take one exmple and write on that discriptive programe in qtp?  1
How to send QTP test results to an email...(with out using Quality Center)?  8
can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.  4
How open an excel sheet in QTP(not a run time )? Tech-Mahindra1
Explain the check points in QTP? Prapan-Solutions14
Can any one please explain hwo to test client/server application using QTP? Value-Labs2
When should u feel that u can stop testing now? The following are few of the common Test Stop criteria:  2
hi i have one issue while selecting weblist i want show one particalur item in weblist .ex one weblist they are monday to sunday i want show the reporter like thurday in particular weblist can you help me about this thanks balaji  5
we are submitting data one form to another form.defaultly it is time period set as 5sec. but it is taken 15sec what to do Covansys5
How many type of status messages are there ..explain?  4
Whether it is possible to test the adobe's controls like zoom, resize, save etc using QTP...If yes, how u can do the same?  1
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com