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 |
How to handle the exceptions using recovery scenario manager In QTP?
Can we create a qtp test from qc?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
Synchronozation types in QTP
How to Compare two database tables by using QTP?Please give me code details.
What is Description Object?
what the difference between shared repository and per action repository?
How many types of recording facility are available in quicktest professional?
What are test settings and global settings?
How to test background color and dynamic images which are moving during runtime?
Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?
can somebody send the script to write a multiplication table in notepad through qtp