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

During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.

2 Answers   Wipro,


How to handle Run-time errors?

1 Answers   Crea,


Does QTP provides any tools for parametarization?

3 Answers   BirlaSoft,


What is the Obect Repository type, we use in Automated Testing..in Real time.. Pls anybody can give the answer.. Thanks in advance...

5 Answers   Navis,


i this is balaji from chennai i have 4 yrs exp in testing and my qualification is bsc computers i completed in correspondace in which companiies accept the correspondace plz let me know

1 Answers   Accenture,






Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.

0 Answers  


What are the different ways to invoke an application using QTP?

0 Answers  


With help of object repository,we can able to write the descriptive program manually?

1 Answers  


suppose the given string str = {"vamsikrishna%%&%*&**"} count the no of vowels and special characters are repeated

2 Answers  


Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?

3 Answers   Livetek,


1) What is the diff Between GetRoproprty and Gettoproperty? 2)What is Redim?

5 Answers   STC,


What is the use of low level recording? How does it useful?

1 Answers  


Categories