What is the difference between systemUtil and invoke method..?

Answers were Sorted based on User's Feedback



What is the difference between systemUtil and invoke method..?..

Answer / vijay

1.Using invoke application you can launch the specified web application on a specified browser. Where as system util.Run will launches the specified web application on a Default browser.
2.If you launch a application with invoke application it will written the results as done. where as if u launch a application using system util.Run it will written the result as passed.

Is This Answer Correct ?    4 Yes 0 No

What is the difference between systemUtil and invoke method..?..

Answer / sandeepguttikonda

SystemUtil : This is an utility Object, which falls under
step generator.

Using this one can perform lot of operations like:

1)systemutil.run :Runs a file or application
Example: a)Systemutil.run "iexplore","www.google.com"
(opens the google page in internet explorer.
b)
Systemutil.run "firefox","www.google.com"(opens the google
page in mozilla firefox.

2) Systemutil.blockinput : Prevents the keyboard and mouse
inputs from reaching the application.

3) Systemutil.closedecedentprocesses: Closes all processes
opened by QTP.

etc.

Invokeapplication :This will invokes an executable
application. And supported primarily for backward
comptibility.


Regards,
Sandeep Guttikonda
Syntax: Invokeapplication(Command)

Example: invokeapplication "C:\Program Files\iexplore.exe"

Is This Answer Correct ?    4 Yes 0 No

What is the difference between systemUtil and invoke method..?..

Answer / swetha

systemUtil is a utility object which is used for different
general activities amg them most imp one is to invoke
application using run method
syntax:
systemUtil.run "path of app"
whereas invoke method is used for invoking the application
syntax:
invokeapplication "path of the app"

Is This Answer Correct ?    5 Yes 4 No

What is the difference between systemUtil and invoke method..?..

Answer / ravichandra

system util run executes executable and non executable
files,but invoke application executes only executable files

Is This Answer Correct ?    2 Yes 1 No

What is the difference between systemUtil and invoke method..?..

Answer / pavan

Swetha ur answer is Exactly correct what i expect.

Is This Answer Correct ?    1 Yes 2 No

Post New Answer

More QTP Interview Questions

Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


whenever U using QTP,Test Director, Why we using separate Bug tracking tool?

0 Answers  


How many add-ins comes by default with quicktest professional (qtp)?

0 Answers  


Explain different types of action in qtp?

0 Answers  


can we test an windows application using qtp

1 Answers  






write a qtp script to see time in windows command prompt? its urgent....

9 Answers   BSL,


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

0 Answers  


What is the difference between Systemutil.run and Navigate.

6 Answers   Synechron,


How can the name of a checkpoint be changed in Qtp

2 Answers   Ordain Solutions,


hi This is Harish.1. What is object repositery .2. what is frame works in QTP,what is keyword driven frame work,explain it and how to associate the folders.3.the build is developed in java, can we write scripting in vb .4.what is discriptive progaram,how to write it.5.what is process of QTp testing.6. how to associate the shared repository. 7.what is implicit and explicit 8.what is runtime data please replay me regards Harish

3 Answers   Syntel,


Can we use same virtual objects in many number of tests?

1 Answers   TCS,


What will be happen if i load object repository at run time, but it has already associated.

0 Answers   NTT Data,


Categories