what is the difference between invoke application and
system.util.run
Answer Posted / rao' prasad
Both are used in QTP.
In most situations, you should use a SystemUtil.Run
statement to run applications or to open files in their
default application. A SystemUtil.Run statement is
automatically added to your test when you run an
application from the Start menu or the Run dialog box while
recording a test.
Sy:SystemUtil.Run "C:\type.txt", "", "", ""
InvokeApplication statement is supported primarily for
backward compatibility.
Sy: InvokeApplication "E:\Program Files\Plus!
\Microsoft Internet\IEXPLORE.EXE"
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Explain features of the latest version of qtp/ uft 12.1?
What are the different types of checkpoints?
Have you used xml check point in your project?
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME
how to download mercury qtp9.2 ny internet ?
What does it mean when a check point is in red color? What do you do?
how to prepared for first for the first interview?
How to build scripts that access data from external sources?
What is the difference between call to existing action and copy of an action?
What is standalone database?
What is the parameterization? Give one example?
Hi All, issue is related to handling pop up script generated in IE, and run on mozilla. In App Under Test, when we get the alert pop ups, we just click ok button. if we need to run the same code on mozilla it will not identify . so we will check browser if browser(*).dialog(IE object).exits browser(*).dialog(IE object).winbutton(OK).click else 'by default mozilla browser(*).dialog(mozilla object).page(*).webbutton(OK).CLICK END IF But my qustion is. Do we write the above piece of code where ever we get such kind of pop ups from the application like alert pop up, confirmation pop up.... OR do we have any other alternative way to do this by using any functions in Recovery Scebarios? If Any of u know idea please do help me in this regard. or send answer to kravimb@gmail.com
what the difference between shared repository and per action repository?
what are the issues we will get when there is migration from QTP 8.2 to QTP 10.0? Is there any problem in executing scripts of 8.2 on 10.0?