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 |
What criteria do you use when determining when to automate a test or leave it manual?
how can i do QTP Certification can any 1 tell me . How 1 approch and who to approch
difference between multiple parameterization and data driven wizard in QTP?
In qtp, how you can remove the spaces from string?
How do we connect QC by using QTP?
Can anyone please tell me how to select next 5th business date from calendar using QTP/UFT ?
1 Answers Cigniti Technologies,
How many types of parameters are available in quicktest professional?
Waht is Test Report , What it consists?
Can u tell me example for virtual objects?
How to recognize and read data from pdf file using Descriptive Programming in QTP?
A web table is having 3 columns(name, salary and checkbox) in qtp How to select a checkbox based on the highest salary of an employee in a webtable.
What is keyword driven testing..what is the use of this in Automated testing