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

How the automated tests in org

1 Answers   Maintec,


how to count the word "IS" is repeated in the application using DP

3 Answers   DST Global Solutions,


Step 3&4 are repeated until an the object in recognised uniquely.

0 Answers  


Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks

0 Answers  


Action1: I have a value "test" stored in a variable X. I want to use that variable X in Action2 .. how?

1 Answers  






i'm using QTP 8.2. A person using QTP 9.0 sends me a QTP TestScript, same when i try to open , an error comes "unexpected file format". Why?? and how to resolve the problem??

2 Answers  


write qtp descriptive programming to activate multiple notepads? please urgent friends

1 Answers   TCS,


I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer

4 Answers   Cimcon,


How can we conduct U-I Testing by using QTP??????

0 Answers  


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

0 Answers  


What is the disadvantage of smart identification?

3 Answers   Infosys, Sony,


Hi Friends,will any body tell to Me for which Auomation Tool their is great Requirement inht eMarket Eithr the QTP or WINRUNNER and for what reason and how long it is going to remain and wat the Scope for the automation Testing In the Future Please tll to Me In Details Ok .

2 Answers  


Categories