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

in my database haveing 3X3 (manas having 3 rows 3 colums) i want to test only (2nd row 3colum) bit how to test either script or any automation plz explain? (Chandana)

8 Answers   IBM,


what are the files created after executing QTP script file, please specify the file names with extensions

1 Answers   Virtusa,


Suggest and Define a solution for an application whose objects are not recognized by UFT?

0 Answers  


How can we conduct U-I Testing by using QTP??????

0 Answers  


Few basic questions on commonly used Excel VBA functions.

1 Answers  






Hi friends, I have heard that it is required to have an application hosted in the same machine where we use QTP. Otherwise QTP may identify the objects incorrectly. Please clear me is it true.

3 Answers  


In the website, the protocol has been changed http: to https what you will do? Tell me your approach?

0 Answers  


when you press a link it displays "the page cannot be displayed" then as a tester how you will find the problem,what type of problem must be it?

3 Answers  


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

0 Answers  


what is the advantages and disadvantages of using functions instead of re usable actions

0 Answers  


I have written some scripts in QTP by using older version, but I want to run them in latest version. Is there any process to do that.If so can anyone explain me?

1 Answers  


Wht are the BY default Add-ins in QTP 9.2 version and what all are differences between 8.2 and 9.2

2 Answers   Siemens,


Categories