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 many types of recording modes in the qtp?

0 Answers  


Tell about automation object model(Aom) in qtp?

6 Answers   GE,


vb script for calling one function to the another function

2 Answers  


How can I generate customized logs in QTP ?

2 Answers   Ordain Solutions,


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

0 Answers  






HI. Plz Clarifie my doubt,having 2+yrs experience in Testing , But My accedamics(Xth,INTER) are Less than 60%, But B.Tech 72%. It creats any problem , When i change to any MNC. plz tell me......... lot of friends told it's a problem, Some people says NO problem, What .............

3 Answers  


what do u mean by test harnesses in qtp?

1 Answers   Verizon,


what is the difference between development and testing

1 Answers  


h u call the function

6 Answers   Wipro,


how much space occupies in object respository by default?

5 Answers   VSoft,


difference between GetROProperty and GetTOProperty

3 Answers   Wipro,


what is risks of testing a project?

5 Answers   AppLabs,


Categories