what is the difference between invoke application and
system.util.run

Answer Posted / kishore

Both can be used by QTP. Invokeapplication is used to
open .exe files where as Systemutil.run is used to run any
application.
For ex:
1. For this path "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe" both will work
2. For the path "C:\Documents and
Settings\Kishore\Desktop\Flight.lnk" Only Systemutil.run
will work, but not invoke application

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you synchronization point through DP?

604


how to disable the pop ups through QTP using a script

1734


in a web page How to check and display a particular word from a paragraph?

2044


Why qtp always start action1 and does not start action?

607


What are the different types of recovery operation?

555






Explain object spy in qtp.

590


What are the check points can be inserted without recording?

600


What is the file extension of the code file and object repository file in QTP?

605


If you have two monitors one is of 19inch and the 2nd one is of 24inch,if you want to write same QTP script in both the two monitors is there any changes required in the script?

1590


What are the trigger events in qtp?

576


Hi Friends, Can anyone help me out in this one? In QTP, I am using Data Driver and want to parameterise multiple values (say 3 values ) for a field. How can I do it using Data Driver wizard? Plz mention it step-by-step. In the end after doing the needful, on opening the Data Driver window, how can I get number (i.e. 3) in the Parameterised column for that particualr value? Thanks a lot in advance.

1448


How you create new action in qtp?

569


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1784


Discuss the QTP Environment?

632


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1393