Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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 / thirumalareddy

You can run any application from a specified location using a SystemUtil.Run statement.

"SystemUtil.Run" is especially useful if your test includes more than one application.

You can specify an application and pass any supported parameters, or you can specify a file name and the associated application starts with the specified file open.

for e.g. SystemUtil.run "iexplore.exe", "www.gmail.com"


"InvokeApplication" invokes an executable application.

Is This Answer Correct ?    3 Yes 1 No

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

Answer / ramesh ravala

Hi All,

Invoke application was using in WinRunner.
system.util.run using in QTP
Invoke application invoke only .exp files,
systemutil.run invoke any type of files.
We can use both serves the same
purpose in QTP.

Regards,
Ramesh Tharapathi Ravala

Is This Answer Correct ?    1 Yes 0 No

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

Answer / rao' prasad

Both are used in QTP.

In most situations, you should use a SystemUtil.Run
statement to run applications or to open files in their
default application. A SystemUtil.Run statement is
automatically added to your test when you run an
application from the Start menu or the Run dialog box while
recording a test.
Sy:SystemUtil.Run "C:\type.txt", "", "", ""

InvokeApplication statement is supported primarily for
backward compatibility.
Sy: InvokeApplication "E:\Program Files\Plus!
\Microsoft Internet\IEXPLORE.EXE"

Is This Answer Correct ?    5 Yes 5 No

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

Answer / sunil kumar.m

Invoke application is used to invoke any .exe file, where as
SystemUtil.Run works with any system utilities like
“Iexplore” apart from .exe file

For more details on the qtp refer to this blog:
http://ssofttesting.blogspot.com

Is This Answer Correct ?    2 Yes 2 No

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

Answer / ramarao

Invoke application invoke only .exp files,
systemutil.run invoke any type of files.
invoke application can be used in in winrunner,system
util.run can be used in QTP.both of the phenominon is same.
U have any qurriers contact with me through mail.
mail id:physics143@gmail.com

Is This Answer Correct ?    3 Yes 4 No

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

Answer / lochana

Hi,

Invoke and Systemutil.run are used to open an application.
But the difference is that invoke function and
systemutil.run is object.method. Generally QTP contains
object.method with in the VB script.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / kishore

Both can be used by QTP. Invokeapplication is used to
open .exe files where as Systemutil.run is used to run any
application.
For ex:
1. For this path "C:\Program Files\Mercury
Interactive\QuickTest
Professional\samples\flight\app\flight4a.exe" both will work
2. For the path "C:\Documents and
Settings\Kishore\Desktop\Flight.lnk" Only Systemutil.run
will work, but not invoke application

Is This Answer Correct ?    1 Yes 2 No

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

Answer / gaurav kumar

Invokeapplication(" ") is use for Windows Application and
systemutil.run is used for Web Based Application.

Is This Answer Correct ?    2 Yes 3 No

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

Answer / srinath

We can use both Invoke Application & systemutil.run in QTP

QTP can be said as it has more advanced feature than what
winrunner supports

Is This Answer Correct ?    4 Yes 10 No

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

Answer / angel

invokeapplication and system.util.run both serves the same
purpose in QTP, but invokeapplication used while you are
writing the script where as system.util.run is used when
you record the application under test.

invoke_application is used in WinRunner to launch the
application.

Is This Answer Correct ?    1 Yes 8 No

Post New Answer

More QTP Interview Questions

I have 5 save buttons in my application on 5 different tabs one after the another . I have spy them and added each of them in my OR. My Or is able to highlight each button on each of the 5 tabs. But when I run the script it does not click the object.Is there anything I have to edit in OR. Any property to add or delete? Below are the properties of 5 save buttons. My code for each is like browser().page().savebutton1.click Browser().page.savebutton2.click Properties of 5 buttons Dhopare, Namita Sent: September 2, 2015 2:57 PM To: Vullengala, Jagadeeshchandra "Class Name:=WebButton", "abs_x:=718", "abs_y:=693", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSaveTab1", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSaveTab1"" class=""Button"" onclick=""document.getElementById('a1').click();"" name=""btnSaveTab1"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=718", "y:=616" "Class Name:=WebButton", "abs_x:=687", "abs_y:=571", "class:=Button", "disabled:=0", "height:=22", "html id:=btnSave", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""btnSave"" class=""Button"" onclick=""document.getElementById('a2').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=687", "y:=494" "Class Name:=WebButton", "abs_x:=635", "abs_y:=478", "class:=Button", "disabled:=0", "height:=23", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a3').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=635", "y:=401" "Class Name:=WebButton", "abs_x:=695", "abs_y:=558", "class:=Button", "disabled:=0", "height:=22", "html id:=BtnExternalPartySve", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input id=""BtnExternalPartySve"" class=""Button"" onclick=""document.getElementById('a4').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=41", "x:=695", "y:=481" "Class Name:=WebButton", "abs_x:=672", "abs_y:=642", "class:=Button", "disabled:=0", "height:=22", "html id:=", "html tag:=INPUT", "innerhtml:=", "innertext:=", "name:=Save", "outerhtml:=<input class=""Button"" onclick=""document.getElementById('a5').click();"" value=""Save"" type=""button"">", "outertext:=", "type:=button", "value:=Save", "visible:=True", "width:=40", "x:=672", "y:=565" Previous Item Next Item Connected to Microsoft Exchange

1 Answers  


wht is Manual Testing Frame work. Pls anybody can give appropriate answers

0 Answers   Satyam,


How can you exit from an action?

0 Answers  


What are the different recording modes and how do they work?

0 Answers  


Explain the concept of object repository & how qtp recognizes objects?

0 Answers  


if the excel sheet specified in script is not there,we get run time error how to handle the error ,please anybody explain me in detail

2 Answers   Quinnox,


I am getting an error "failed to open the XML checkpoint result viewer" in result window,after clicking on "View XML checkpoint results".Someone suggest me settings,if any...

0 Answers  


GET WHETHER THE GIVE NUMBER VALID OR NOT IN BETWEEN THE GIVEN RANGE?IN VB SCRIPT(QTP)

2 Answers   CSC,


In my QTP script I have a word in notepad that ends in a question mark, for example... "father?" As part of my script I want to delete the question mark. How do you delete a character in notepad?

4 Answers  


in flight reservation ex once u login, u go into next window where we hav an option of new, open and help etc.. how to fetch those options and to go to respectiv tab accordingly using qtp.. plz let me knw answer for tis as early as possible. Thanks in advance... asha

1 Answers  


What is the advantage of associating a procedure with a test object?

1 Answers  


What does Reporter.Reortevent2 does?

2 Answers  


Categories