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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between Recording time object identification and Run time (Execution) time.

1006


Do you know how to connect database? Can you tell me the procedures?

551


Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project

1644


Want to verify notepad reports using QTP framework or any other BV script method. Can anyone share the method to achieve it? Eg. Person Name is the header and the actual name is John then how can we verify weather person name is John

2169


What are the advantages of parameterization ?

594






can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

1404


Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?

1686


what is output value in QTP and how it can be used in automation testing

1436


Explain the check points in quicktest professional?

540


Hi, I'm a beginner in QTP and planning of a certification in QTP, but have no idea about it :P. Could anyone please tell me what certifications that a QTP- beginner can take? What is the fees and the syllabus for the certification? Please reply soon. Thanks Vidhya

1423


hi nani my doubt is how does qtp process metrix related to software process.

1553


Whats the realtime QTP testing process

1991


how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance

1426


How can i initiate the objects to find uniquely in OR

1470


Which advantages helping QTP to hold the position of "Market Leader" for such a long period?

1389