how do you invoke the application through QTP?



how do you invoke the application through QTP?..

Answer / kotike

As per my knowledge we can invoke application in four ways
through qtp
1. Systemutil.Run "Notepad.exe" (i.e path of the
application)
2. Invokeapplication "Notepad.exe"
'this invokeapplication is used for backward compatability
3.set oShell=CreateObject("Wscript.Shell")
oShell.Run "Notedpad.exe"
set oShell=Nothing
4. In qtp go to-->Automation-->Record and Run setting-->
select web or window and check the checkbox of application
opened by qtp. Below specify the path of the application
and click on ok. When where you click on record button qtp
will launch application automatically.

Regards,
mahi.kotike@gmail.com.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

Is it possible to run QTP scripts created in IE 6.0 in IE 7.0?

4 Answers   TCS,


How to handle the exceptions using recovery secnario manager in Qtp?

2 Answers  


What is QTP’s model for test creation?

0 Answers  


what is a test strategy & what is the difference between test strategy & test plan?

5 Answers  


how to identify the user defind varibles? plz tell me

1 Answers  






How to pass parameters into an action.Please explain me with examples

5 Answers  


How to run scripts 1,29,3,5,7,2 scripts using test batch runner in QTP.... Ie...I wanted to run scripts not in an order 1,2,3,4,5...like that How it is possible using test batch runner... I dont want hardcoded script

0 Answers   IBM,


I want to learn QTP Online, where can I get quality training?

15 Answers   CSC,


wt is memory leakage?

6 Answers   BSL,


How we can add actions in the test using QTP?

2 Answers  


How to handle recovery scenario for a application crash.write script for this.

2 Answers   Polaris, TCS,


what is Property......End Property loop? how to write sript for it in QTP

0 Answers  


Categories