what is the difference between invoke application and
system.util.run

Answers were Sorted based on User's Feedback



what is the difference between invoke application and system.util.run..

Answer / prasad

Both are used for QTP.Invokeapplication is used for
Excutable files only.But System util can be used for any
file.
This is upto my knowledge,if wrong sorry.

Is This Answer Correct ?    31 Yes 2 No

what is the difference between invoke application and system.util.run..

Answer / rinku shah

InvokeApplication & Systemutil.run are not used for same
purpose.

InvokeApplication : Used for invoking the .Exe (Executable)
Applications only.

SystemUtil.run : used for invoking the following
Applications :
--> .exe
--> .txt
--> .doc
--> .xls
--> URL's (Web Appl.) also .......

Is This Answer Correct ?    5 Yes 0 No

what is the difference between invoke application and system.util.run..

Answer / ravindra

Both are doing smae job the mazer diffarense is
Invokeapplication is used for Excutable files only.
Systemutil.run is used for any files.

If any mistakes let me know.

Is This Answer Correct ?    4 Yes 0 No

what is the difference between invoke application and system.util.run..

Answer / nath .t

When you specify an application to open using the Record
and Run Settings dialog box, QuickTest does not add a
SystemUtil.Run statement to your test.

The InvokeApplication method can open only executable files
and is used primarily for backward compatibility.

Is This Answer Correct ?    4 Yes 1 No

what is the difference between invoke application and system.util.run..

Answer / praveen kumar a

Invoke Application is only used for open the windows
applications(.exe), it is not supported to oprn Web
applications.
Wehere as System.util.run is used to open windows as well
as web applications.

Is This Answer Correct ?    3 Yes 0 No

what is the difference between invoke application and system.util.run..

Answer / rayudu

It is a built-in functions offered by QTP Tool.
by using invoke application we can launch only executable
application.where as using system.util.run we can launch any
type of application.

Is This Answer Correct ?    3 Yes 0 No

what is the difference between invoke application and system.util.run..

Answer / qtester

invoke application is used for invoking the Executable files
only(.Exe).

pls correct me if i am wrong.

Is This Answer Correct ?    3 Yes 0 No

what is the difference between invoke application and system.util.run..

Answer / nallapusalavijay

Infact InvokeApplication & Systemutil.run are not used for same purpose.
Both are used to launch applications:

1: InvokeApplication : Used for invoking the .Exe (Executable) Applications only.

SystemUtil.run : used for invoking the following Applications :
--> .exe
--> .txt
--> .doc
--> .xls
--> URL's (Web Appl.) also .......

2:In InvokeApplicstion we cannot able to give the URL of Application But in Systemutil.Run We can Specify the URL Of Application
Syntax: Invokeapplication
Invokeapplication"Path of Application.exe"
Syntax:SystemUtil
Systemutil.Run "IExplore.exe","WWW.Google.com"

Is This Answer Correct ?    6 Yes 3 No

what is the difference between invoke application and system.util.run..

Answer / sreeom

Invoke_Application is invoke the Exicutable Aplication.

If .Exe is not there invoke_application Does not work.

Systemutil.run We work in real time sinariyo becouse it
execute the file what the path we are giving.

Is This Answer Correct ?    2 Yes 0 No

what is the difference between invoke application and system.util.run..

Answer / raj

we can use both in QTP.
Invoke application method is the old method. and The
InvokeApplication method can open only executable files and
is used primarily for backward compatibility.

system util.run is the new method. it will support to open
any files.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More QTP Interview Questions

If you are using descriptive programming and you have two objects with the same name, so you are identiying them by name and index, how can you avoid errors if a third object with the same name is added at the begining of the page?

4 Answers  


hi This is Harish.1. What is object repositery .2. what is frame works in QTP,what is keyword driven frame work,explain it and how to associate the folders.3.the build is developed in java, can we write scripting in vb .4.what is discriptive progaram,how to write it.5.what is process of QTp testing.6. how to associate the shared repository. 7.what is implicit and explicit 8.what is runtime data please replay me regards Harish

3 Answers   Syntel,


For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ?

2 Answers   TCS,


Hi. plz expalin abouit SetToProperty, SetRoProperty, GetToProperty, GetRoProperty,GetToPrperties. with examples.

6 Answers  


How iteration is related to Test Results in QTP?

1 Answers  






Why divide a test into three action calls?

1 Answers  


how do you remove object repository at runtime and load object repository and verify it

2 Answers   Thomson Reuters,


What is the framework your company is following. What is the reason. Explain why key word driven frame work is chosen.

0 Answers   Value Labs,


How to get popup error message.

0 Answers   Tech Mahindra,


How to differentiate the webedit field like user name and password? Please tell any other best answer is ther

3 Answers   Navis,


in order to start automation testing what we should require (entry level to automation testing)

2 Answers  


Write script to fetch the data from global sheet where row number is 3 and parameter is "text"

3 Answers   Accenture, Thomson Reuters,


Categories