How do you invoke any application and write a script to
invoke QTP using VB Script.

Answers were Sorted based on User's Feedback



How do you invoke any application and write a script to invoke QTP using VB Script...

Answer / srinvias

systemutil.run "QuickTest.Application"
set qtp_app=createobject("QuickTest.Application")
qtp_app.launch
qtp_app.visible=true

or

invokeapplication "C:/internet/explorer.exe"

Is This Answer Correct ?    12 Yes 0 No

How do you invoke any application and write a script to invoke QTP using VB Script...

Answer / nanda.d reddy

TO Launch IE using VB Script:

Set IE=CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate "www.google.com"

else

systemutil.run "iexplore.exe","www.google.com" (This is not VB Script, this is QTP builtin method)

But i dont understand that "when QTP is providing builting feature why do we need put more effort to write extra script instead using tool features" ( Why interviewers dont ask which are usefull)

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More QTP Interview Questions

During test run,How will you copy/paste from/to clipboard?

3 Answers  


What is the entry and exit point of automation testing

2 Answers   Infosys,


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1 Answers  


How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?

1 Answers   CTS, Nabard,


Without QTP (or any Testing tool) can we able to test the GUI part of the Applications. for Example generating the Scripts in Notepad and Executing them Using VB. Is it Possible to do so..

2 Answers  


Difference between test object and run time object?

1 Answers  


What is the difference between two actions?

1 Answers   Wipro,


How to add synchronisation points in qtp?

1 Answers  


can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com

0 Answers  


In a webpage how to check the dynamic links that re changing regularly?( without using regular expressions.)

3 Answers   Misys,


In QTP can we feed the out of one browser(internet explorer) as an input to the another browser(mozilla firefox)? If yes explain how to do it with an example.

1 Answers   Patni,


can we run the scripts of qtp 8.2 in the qtp7.0?

2 Answers  


Categories