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

How to use transactions in qtp?

0 Answers  


What are the methods used in UFT to handle exceptions or run-time errors?

0 Answers  


Why is action split used by qtp?

0 Answers  


How to capture the Check point Value into a variable?

2 Answers  


what is the difference between DP and keyword driven framework?

1 Answers  






Can any suggest me what is exposure testing?

0 Answers   Value Labs,


How to add Dynamic Objects to Object repository?

5 Answers  


On what document base Descriptive programming is written if build is not yet ready ?

0 Answers  


images are dynamically changes how to compare two images with out using the bitmap

0 Answers   Hexaware,


How can we test existence of a particular word in scentence using QTP tool. Thanks in Advance!!!!!

4 Answers  


Does the Existing reusable action can be modified at the time of calling the action?? Please help me..

2 Answers  


what is the difference between rational rose and QTP? WHICH TOOL IS BETTER TO LEARN? PLEASE SEND ME AT sana_50218@yahoo.com sandeep@epuratech.com

0 Answers   EpuraTech,


Categories