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
What are some test assets and related extensions of qtp?
How to handle the exceptions using recovery secnario manager in quicktest professional (qtp)?
How many types of recording facility are available in quicktest professional?
What is the quicktest professional testing process?
How to attach a file to TD?
How would you export a script from one pc to another in qtp?
your coming from electrical backgroung..but y ur coming to software side?
Is it possible to change the values of analog recording?
What are table and db checkpoints?
How can we conduct U-I Testing by using QTP??????
Explain about datafile/verification of date file when file is not available in local system?
banking domain description for software tester for interview
Can we record using all the modes in a single script? Explanation with example is appreciated
What are the different types of checkpoints?
How to find a window is minimized or not