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 the process of synchronizing qtp and aut?

771


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

1759


Which scripting language used by quicktest professional?

734


How to use actions in qtp ?

778


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

802


How many types of recording modes are there?

795


How you can find length of array in qtp?

766


How can I change object description or check point values in qtp?

762


Hi ,Can any one pleas explain how to test splash objects using QTP?

2138


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

819


Explain more about the Test Fusion Report of QTP?

803


How to give a call to another action from one action?

861


Have you faced any problems with object repository?

809


Who uses qtp tool?

765


Diff b/w Health care domain and Banking Domain?

4427