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

7. Given scenario is like this: One Web table is there and you have to search and retrieve a cell data which is equal to the given number say:123. Assume you have given with the column name/id of the table where the number may exist. So now you have to go to the given column and search for the number 123 and retrieve it along with the row number of it.

4 Answers  


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

1 Answers  


what is difference between calling a function and reusing an action?

1 Answers  


Where you are storing your script?

0 Answers  


How is test case write?

0 Answers  


in qtp how can we do test when the build is not ready

3 Answers   Mindlance,


what type of automation is follwed in the project?

0 Answers   Google,


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

0 Answers  


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

0 Answers   BirlaSoft,


How to handle recovery scenario for a application crash.write script for this.

2 Answers   Polaris, TCS,


Is it mandatory to know abt regular expression in descriptive programming

2 Answers  


What is method name to compare two XML files.

0 Answers  


Categories