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 use two instances of UFT on the same machine? If not why?

0 Answers  


How to handle Dynamically changing Objects in QTP?

4 Answers  


What is VSS? Is it used in Automation(QTP) Or Manual? what is menus in VSS?

3 Answers   TCS,


What are the advantages of Object Repository?

0 Answers  


Hi All, I need Code For how to export Pass\Fail status to excell sheet without using QC. Thanks Balaji

3 Answers  






i need code for how to click on particular mail in utlook mail box .its urjent Thank You Balaji

0 Answers  


write script for "dropdown button having how many words? for ex.SELECT CITY is dropdown name.. find out how many cities in that?

1 Answers  


How to modify object property in qtp ?

0 Answers  


What is the DIFF Between PROJECT AND PRODUCT?When Company will need Product?

5 Answers  


wht is Automation testing frame work. pls explain it

3 Answers   Wipro,


What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)

0 Answers   Tech Mahindra,


wt is the xtension of the QTP result view file?

4 Answers  


Categories