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
what is impact analysis on regression testing?
What is QTP’s model for test creation?
What is fragmentation and paging?
How to read a text file from QC using QTP. I would like to do something like this. But instead read a file from QC and NOT from my local drive. Set fso = CreateObject("Scripting.FileSystemObject") Set InputFile = fso.OpenTextFile("C:\test.txt", ForReading) Thanks
i need to add 1000 users in a domain i written the script for that and it is running successfuly but the problem is that my system is not the user of that domain in which i have to add users so for adding users in that domain i have to install qtp on that another system, can anybody suggest me the way to add those users from my system ultimately i want to know how to access remote computer through script
How to start recording using quicktest professional (qtp)?
How do you do batch testing in wr and is it possible to do in qtp, if so explain?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Explain the checkpoint in qtp?
How many lines of code in each script of QTP?
When do go for loop condition in test?
Problem with XML checkpoint in QTP ?
What are the key elements available in test result window?
What is the quicktest professional (qtp) testing process?
How to define array in qtp?