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

How can I replace all the text from the QTP script with some other text.

1 Answers   Livetek,


How to map Test cases to the script? Please do anwser urgently?Thanks

3 Answers  


Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


is qtp 9.2 supported for firefox browser3.0?bcoz when i tried to create scripts with the application run on firefox browser 3.0 then qtp 9.2 didn't ct=reate the scripts?

2 Answers  


what is error and fault in terms of software quality?

0 Answers   TCS,






How to Creating an Output Value using QTP?

1 Answers  


Explain qtp(quick test professional)?

0 Answers  


how will you load the test cases in ddt?

0 Answers  


Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers

0 Answers  


How is a Step generator used in UFT?

0 Answers  


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

0 Answers   Tech Mahindra,


How can we encrypt the username using recording mode in login window? There is 2 encrypted types what are it

1 Answers   TCS,


Categories