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

What is the process of synchronizing qtp and aut?

0 Answers  


I have recorded a test over web application(with IE6.0) in analog mode. But, while running it my test gets failed. Why? (Note: my systray has 3 open web applications)

7 Answers   Xansa,


How to handle the exceptions using the recovery scenario manager in qtp?

0 Answers  


Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

0 Answers  


how will u choose a tool for test automation ?

1 Answers  






i am trying to automate yatra.com,in that site, when i go to automate the Leaving from field showing as a WEBEDIT, but when i enter 1 or 2 char, it displaying dropdownlist, i try to use keyboard automation to select the item from that list but it is not possible, can anybody help he. Thans for posting the Answer

0 Answers   TCS,


what are the 5 types of objects in qtp

6 Answers   ABC, TCS, Wipro,


If the object property is changing very frequently, what was your approach?

2 Answers  


what is localisation testing and globalisation testing? what is the difference between them?

1 Answers   CDC Software,


When you open QTP, how many sheets you can see?

0 Answers   Wells Fargo,


write the code to reverse a string without using Strrev built in function.

14 Answers   ADP,


What is Modular framework and Keyword drive framework? Explain

4 Answers  


Categories