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
How to add synchronisation points in qtp?
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.........
Explain the types of object repositorys in qtp?
What are the methods of the TextStream object that are used for reading from a text file?
Which environments are supported by hp qtp?
Shall we add Local Repository to shared object repository,if yes,how we add
I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com
Hi All, How to Compare two strings character by character in QTP
What are the recording modes in wave event?
Explain the terms test and business component?
How to find a window is minimized or not
Have you faced any problems with object repository?
Explain the use of action split in qtp?
What does it mean when a check point is in red color? What do you do?
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