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 difference between wait and synchronization point.

3 Answers   IBM, Intel,


Why u don’t like recording the script and writing the script

3 Answers   Wipro,


WHO TAKE DECISION TO RELEASE THE BUILD

2 Answers   IGT,


How to execute a WinRunner Script in QTP?

3 Answers   IBM,


how you update scripts in qtp?

1 Answers  






Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()

6 Answers   IBM,


How to make arguments optional in a function?

0 Answers   Crea,


hi all, I have installed QTP successfully on windows vista. I am able to record and run on windows applications, but facing problem with web applications. While recording, I am able to open the web application, but when I click on any object or give login name and password, the events are not getting recorded in QTP. Could anyone solve the problem. Any settings to be done for web applications other than selecting web-addin? Waiting for replies. Thanks in advance.

4 Answers  


what is Compile Module in QTP? what exactly it contains Functions or Actions?

1 Answers  


There are some links on the web page,write a script to count and click those links and check the text on the page displayed on clicking the links.

3 Answers   Tech Mahindra,


How do you connect to database ,What is the script to connect DATA BASE?

2 Answers   Nokia,


we have 10 automation scripts. how to call them from one main script.

2 Answers  


Categories