What is the difference between systemUtil and invoke method..?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
Answer / pavan
Swetha ur answer is Exactly correct what i expect.
Is This Answer Correct ? | 1 Yes | 2 No |
Is it mandatory to know abt regular expression in descriptive programming
whenever U using QTP,Test Director, Why we using separate Bug tracking tool?
How many add-ins comes by default with quicktest professional (qtp)?
Explain different types of action in qtp?
can we test an windows application using qtp
write a qtp script to see time in windows command prompt? its urgent....
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)
What is the difference between Systemutil.run and Navigate.
How can the name of a checkpoint be changed in Qtp
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
Can we use same virtual objects in many number of tests?
What will be happen if i load object repository at run time, but it has already associated.