09-29-2010, 11:01 PM
can anyone tell me the diff between invoke application and systemutil.run?
diff between invoke application and systemutil.run
|
09-29-2010, 11:01 PM
can anyone tell me the diff between invoke application and systemutil.run?
10-01-2010, 12:48 PM
invoke application:
Invokes an executable application. Syntax:InvokeApplication(Command [,StartIn]) systemutil.run: Is an object used to control applications and processes during a run session. It is used to run a file or application. This can be used to run non executable application, when specifying a non-executable file, the file opens in the associated application. Ex: SystemUtil.Run "C:\type.txt", "", "", ""
10-01-2010, 11:13 PM
Since SystemUtil.Run does everything InvokeApplication does and more, you're supposed to use SystemUtil.Run. From the QTP help file:
QTP Help File Wrote:Note: In most situations, you should use a SystemUtil.Run statement to run applications or to open files in their default application. For more information on the SystemUtil.Run statement, refer to the Standard Windows section of the QuickTest Professional Object Model Reference. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
SystemUtil.Run is not getting recorded | divyan | 1 | 1,863 |
08-31-2017, 09:06 PM Last Post: Ankur |
|
SystemUtil.Run method is not getting recorded | pupuns2 | 5 | 8,215 |
05-12-2017, 01:20 PM Last Post: Angeliks |
|
XML diff comparison | bubblehead | 0 | 5,774 |
05-21-2014, 12:01 PM Last Post: bubblehead |
|
How to invoke the recording of QTP using AOM(automation object model) of QTP | shailesh.gcettb@gmail.com | 2 | 4,184 |
05-08-2014, 10:30 AM Last Post: Shriram |
|
systemUtil.run script is not generating while recording in qtp 9.5..pls help me | senthil.kumar | 0 | 2,690 |
01-24-2013, 01:22 PM Last Post: senthil.kumar |