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:

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
by using SystemUtil.Run we can open any widows and web
application and .exe file

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

Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne

4 Answers   Siemens,

Explain the concept of how QTP identifies object.

4 Answers   Ordain Solutions,

Need one Urgent help please,for ex: first time i created Local reposory and convert that local to shared Rep and save in some where(by using Export local objetcs), unfortunately that saved repository is missed, now i want same repository,but iam not able to export the same repository second time?? i need that Repository only how to get???

2 Answers   TCS,

Write a code check the checkbox in the web table which is in the 4th row and fifth column (Use child item concept)

2 Answers   FIS, Wipro,

how i will connect oracle or microsoft acess database through manually written Script

2 Answers   Aurigo,

Hi Guys, In one of my interviews, I was asked to Write a paragaraph explaining how much scripting I did in QTP? I don't know where to start and what to write. So I need your help in writing that.

1 Answers  

hi i want write code for "test engineer" in this i want write reverse how ca plz let me know through script

4 Answers  

Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?

0 Answers  

How can we translate the steps between the Keyword and Expert Views?

1 Answers  

What is an Regular expression doing in VBScript?Tell the pattern for the email verification.

1 Answers   Accenture,

How can i parameterize the standard checkpoint using Excel sheet where my expected values are there?? suppose i want to test a application with diffent value and want to run 5 iteration?? for each iteration, values will be exported from excel sheet as input. Now i will store some expected values in the excel sheet, which i want to check in the application whether expected equals to actual value??? can any one help me

1 Answers   CSC,

How Does Run time data (Parameterization) is handled in QTP?

4 Answers   IBM,