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

how to call multiple scripts in QTP at a time

3 Answers   IBM,


what do you call the window testdirector-testlab?

1 Answers  


In my Script Firstly i have to parametrize the data then we import the data from c drive.suppose i have parametrize the Person name and company Name and i have enter one person name and one company name in the excel sheet now we import the sheet and the script is passed i want to ask one thing can we add more than one person name and more than one company name in the excel sheet suppose firstly we create person name "ADDy" and company nmae.'Wipro" and we set the current row in the script for this data and now we want run the script another set of data so how we can run the script with another set of data

2 Answers  


hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you

2 Answers  


i am new to qtp i do not know how to write script how to write the code to login if it fails how to able error messages

4 Answers   Accenture,


What does "Dynamic change on web pages" means.As per my knowledge, this comes in "Complete" level of Active screen capture levels, where it says, "Also dynamic changes on web changes are saved.so i want to know what type of dynamic changes are made and is this dyanmic changes efftes only on web application or any other?

0 Answers   EDS,


I've some problem in Descriptive programming plz help me. I've written in a click event code in Functional library when I run this flight reservation program It is not run. How to I write multiple click event in functional library. My program is this. I have associate an action with functional library. Public Function ClickButton(byval ApplicationName, byval WindowName, byval ObjectName, byref Comments) If Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Exist Then Dialog("text:=" &WindowName).Activate Dialog("text:=" &WindowName).WinButton("text:=" &ObjectName).Click Elseif Window("text:="&ApplicationName).WinButton("text:=" &ObjectName).Exist Then Window("text:=" &ApplicationName).Activate Window("text:=" &ApplicationName).WinButton("text:=" &ObjectName).Click End if End Function

2 Answers   Amdocs,


How do you send email with attachment from outlook using qtp ?

0 Answers  


How can we add regular expression for date field (dd/mon/yyyy)?

3 Answers   CTS,


how to validate email?email ie correct or not ?with below conditions. 1)before @(symbol) only alphbates and min 4 char to max 15 chars. 2)before @(symbol) only alphabates dont use ant special chars or numarics 3) after @(symbol) only one dot(.)symbol for ex:abc@gmail.com it is valid email or not based above conditons

2 Answers   Aspire,


For which type of projects the iterative model is not suitable?

0 Answers  


WHY U CHOOSE TESTING FIELD?

6 Answers   CybAge, TCS,


Categories