Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SystemUtil.Run and invokeapplication
#1
Solved: 11 Years, 4 Months ago
Can anyone tell me the difference between SystemUtil.Run and invokeapplication
Reply
#2
Solved: 11 Years, 4 Months ago
Both of them seerves the same purpose to invoke an application.

In most situations, you should use a SystemUtil.Run statement to run applications or to open files in their default application.
The InvokeApplication statement is supported primarily for backward compatibility.
Reply
#3
Solved: 11 Years, 4 Months ago
Hi Sudhir & Prafulla,

Infact InvokeApplication & Systemutil.run are not used for same purpose.

InvokeApplication : Used for invoking the .Exe (Executable) Applications only.

SystemUtil.run : used for invoking the following Applications :
--> .exe
--> .txt
--> .doc
--> .xls
--> URL's (Web Appl.) also .......

Just try it out & see ... You will come to know the difference.Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  SystemUtil.Run is not getting recorded divyan 1 1,823 08-31-2017, 09:06 PM
Last Post: Ankur
  SystemUtil.Run method is not getting recorded pupuns2 5 8,165 05-12-2017, 01:20 PM
Last Post: Angeliks
  systemUtil.run script is not generating while recording in qtp 9.5..pls help me senthil.kumar 0 2,681 01-24-2013, 01:22 PM
Last Post: senthil.kumar
  SystemUtil.Run not recording hairylugs82 1 2,731 10-05-2012, 07:17 PM
Last Post: deepa_april
  Use systemutil.run with two plus parameters mv8167 2 5,818 05-24-2012, 08:18 PM
Last Post: mv8167

Forum Jump:


Users browsing this thread: 1 Guest(s)