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
Is any limitation to xml checkpoints?
what type of values given to objects. EX::Set oBrowser=Description.Create oBrowser(“micclass”).Value=”Browser”
Can launch two instances of qtp on the same machine?
How do you send email with attachment from outlook using qtp ?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
i have doubt suppose iam purly working in QTP, when i will work on sql and performence testing? pls any one clarify doubt?
how to test use the quality control .how to verify the image verification
How does you pass optional arguments in qtp?
What environment does qtp run in?
In a flight window we have to enter the name and meal request for every passenger.In that window if we give Total passengers=1 then the Psngr1 name field and psngr1 meal request field will reflects.if we give Total passengers=2 then Psngr1 name field and psngr1 meal request field,Psngr2 name field and psngr2 meal request field will reflects and so on.if total psngrs=100 then will we capture all the fields for the psngrs to Automate the app how we can handle this scenerio thru Descriptive programming?
How to capture all the data of a webtable, weblist and combolist using QTP?
Differences between text and test area checkpoints?
What are the views available in quicktest professional?
Explain the terms test and business component?
Does quicktest professional is unicode compatible?