How do you invoke any application and write a script to
invoke QTP using VB Script.
Answers were Sorted based on User's Feedback
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 |
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 |
During test run,How will you copy/paste from/to clipboard?
What is the entry and exit point of automation testing
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?
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?
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..
Difference between test object and run time object?
What is the difference between two actions?
How to add synchronisation points in qtp?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
In a webpage how to check the dynamic links that re changing regularly?( without using regular expressions.)
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.
can we run the scripts of qtp 8.2 in the qtp7.0?