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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does QTP identify an object?

975


What are the common defects found in your project? (in qtp interview)

1990


what is profile tool?

2135


tell me QTP standards ?plz

1868


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)

1924


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

1976


What is the new version of qtp which is recently released in the market?

1017


What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?

2293


How do you synchronization point through DP?

1010


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

2125


How is recording done when a application is over lapping the QTP application it gives a message object not recorded

1976


Explain data driven framework?

987


What are some test assets and related extensions of qtp?

974


Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly

1677


How to find the name of the machine where you are running your automation scripts in qtp?

952