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

what is error and fault in terms of software quality?

0 Answers   TCS,


Hi All, I am 4 yrs experieced in manual testing and new to automation tool QTP. Iam trying to learn it thru online and material i have.I am able to understand but unable to trace out which method or function to be used where necessary in VB Script. How come we know the functions or methods to be used to open a window when clicking on button or so...Pls suggest me.How can i proceed further to apt VB Script.

0 Answers  


How to use actions in qtp ?

0 Answers  


Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u

0 Answers   Avenger Software,


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

0 Answers  






anybody wants to learn QTP with realtime implementations and complete framwork contact to this mail id ciraaj@gmail.com

1 Answers  


What is the purpose of loading qtp add-ins?

0 Answers  


What is object repository?

3 Answers  


what r the drawbacks and limitations of QTP?

2 Answers   NIIT,


How to create runtime property for an object?

0 Answers  


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

2 Answers   Keane India Ltd,


Tell me the situations where we will use Data Driven?

4 Answers   Ordain Solutions,


Categories