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

Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1595


How to handle the exceptions using the recovery scenario manager in qtp?

809


Can we create user defined functions in qtp?

787


Explain the concept of how quicktest professional (qtp) identifies object?

803


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1751


Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com

1631


Tell some commonly used Excel VBA functions?

838


Did QTP prove efficient for your project? Yes or No, explain?

6359


How to create a standard checkpoint ?

774


Can an action have 2 shared object repositories associated with them? In that case, if two of them contain the same object, which one will be considered?

860


How to recognise the webelement and verifying that webelement is enabled?

1921


I have written a code to fetch values fro access db and place in the fields. Iam using GetROProperty to fetch runtime values. Now i want to add runtime values to the access db in field v3. please help me. Its not writting in the db. Option explicit Dim con,rs,db,c Set con=createobject("adodb.connection") Set rs=createobject("adodb.recordset") con.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=D:\Sales.mdb" rs.open "select * from tax",con Do while not rs.eof Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("incost").Set rs.fields("v1") Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("intax").Set rs.fields("v2") c=Browser("Sales Tax Calculator").Page("Sales Tax Calculator").WebEdit("outtax").GetROProperty("value") rs.MoveNext print c Loop Do while not rs.EOF rs.EditMode rs.Fields("v3").Value="3" rs.Update rs.MoveNext Loop Set rs=nothing Set con=nothing

1744


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1791


In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?

787


How to get Traceability matrix from TD?

964