how do you invoke the application through QTP?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use parameterization in qtp?

624


how to write xml output check point bu useing descriptive programing .means without useing output check point

1654


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3273


What is difference between design time and run time data table?

587


Explain features of the latest version of qtp/ uft 12.1?

607






How you calling actions in qtp?

631


how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?

1908


Explain advantages and disadvantages kdf?

527


desribe a situation where u faced a stressful situation and how did u cope with it

1412


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

1580


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1571


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1027


How you can find the absolute value of the number in qtp?

525


How to export quicktest professional results to an .xls file?

575


What are the key elements available in test result window?

627