Waht is diff between SystemUtil.Run and invokeapplication

Answers were Sorted based on User's Feedback



Waht is diff between SystemUtil.Run and invokeapplication..

Answer / firoz basha shaik

Invoke is used to exeecute an .exe file but by using
systemutil.run we can open both .exe file as well as
browser fles.

invokeapplication "c:\IE\Iexplore.exe"

SystemUtil.Run "c:\IE\Iexplore.exe", "www.yahoo.com"

I think i am right. Please correct If I am wrong.

Is This Answer Correct ?    8 Yes 2 No

Waht is diff between SystemUtil.Run and invokeapplication..

Answer / ravi_kanakam

The invokeapplicaton method can invoke only an executable
application(file with EXE extenstion)

The systemutil.run method can invoke any application.

For example

systemutil.run "c:\testdata.txt"
invokeapplication "c:\diskcleaner.exe"

Is This Answer Correct ?    6 Yes 2 No

Waht is diff between SystemUtil.Run and invokeapplication..

Answer / sunil kumar.m

Invoke application is used to invoke any .exe file, where as
SystemUtil.Run works with any system utilities like
“Iexplore” apart from .exe file

for more details logon to:
http://ssofttesting.blogspot.com

Is This Answer Correct ?    1 Yes 1 No

Waht is diff between SystemUtil.Run and invokeapplication..

Answer / ram

by using invoke application we can open only exe file
ex->invokeapplication"notepad.exe"
by using SystemUtil.Run we can open any widows and web
application and .exe file
ex->systemutil.run"www.yahoomail.com"

Is This Answer Correct ?    0 Yes 0 No

Waht is diff between SystemUtil.Run and invokeapplication..

Answer / gaurav

SystemUtil.Run uses for web based application
for ex: "WWW.ebay.com"
invokeapplication uses for windows based application
for ex: "c:Windows\folder\subfolder\application.exe"

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More QTP Interview Questions

Is it possible to convert QTP scripts to Silk scripts?

2 Answers   Sierra Atlantica,


How to save your test using quicktest professional (qtp)?

0 Answers  


What are the disadvantages of recording test cases in qtp?

0 Answers  


Which Databases supports for QTP?

3 Answers   CTS,


There is one login screen,after accepting valid username and apassword, it will show the next screen. In the 2nd screen u r having 2 combo boxes, U have to select any item from these, and click OK button. After closing that, it will show the 3rd screen. If u click CANCEL button from 2nd screen it will show the first screen. Write QTP script for it???

1 Answers   Sonata,






What is object & properties (in QTP)

5 Answers   Ordain Solutions,


Tell about automation object model(Aom) in qtp?

6 Answers   GE,


the build is develeped in Java. is possible to write scripting in vb using QTP ?

3 Answers  


What expansion of "MIC" in MICPASS (TEST ReportPAGE)

11 Answers   TCS,


can u store QTp frame work folders in VSS? If Not where u store those?

1 Answers  


Why qtp always start action1 and does not start action?

0 Answers  


Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?

3 Answers   Livetek,


Categories