what is the difference between invoke application and
system.util.run
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
QTP Testing Process?
hello...any one tell me , where can i get company email id.. actually i am searching on testing... in my CV i put 3+ exp.. but all companies are asked company email id.. please provide solution for that... thanx in advance...
how can we write descriptive programming for menus when qtp is not able to identify it..and how can we write descriptive programming for partially identified and non standard objects..do i have to map the objects before writing the script
What is the extension of script and object repositary files?
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji
Why we are selecting QTP for testing ?
what is Property......End Property loop? how to write sript for it in QTP
what are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
Write a user defined function to count the no. of buttons existed in a webpage ? i dont want to use descriptive.create ()
How many ways to configure the application in QTP,Explain
Write a function which returns the addition of two numbers. give the value of the numbers outside the function.
How can we make a shared object repository in QTP 9?
3 Answers Kanbay, Ordain Solutions,