what is the difference between invoke application and
system.util.run
Answers were Sorted based on User's Feedback
Answer / prasad
Both are used for QTP.Invokeapplication is used for
Excutable files only.But System util can be used for any
file.
This is upto my knowledge,if wrong sorry.
| Is This Answer Correct ? | 31 Yes | 2 No |
Answer / rinku shah
InvokeApplication & Systemutil.run are not used for same
purpose.
InvokeApplication : Used for invoking the .Exe (Executable)
Applications only.
SystemUtil.run : used for invoking the following
Applications :
--> .exe
--> .txt
--> .doc
--> .xls
--> URL's (Web Appl.) also .......
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / ravindra
Both are doing smae job the mazer diffarense is
Invokeapplication is used for Excutable files only.
Systemutil.run is used for any files.
If any mistakes let me know.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / nath .t
When you specify an application to open using the Record
and Run Settings dialog box, QuickTest does not add a
SystemUtil.Run statement to your test.
The InvokeApplication method can open only executable files
and is used primarily for backward compatibility.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / praveen kumar a
Invoke Application is only used for open the windows
applications(.exe), it is not supported to oprn Web
applications.
Wehere as System.util.run is used to open windows as well
as web applications.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / rayudu
It is a built-in functions offered by QTP Tool.
by using invoke application we can launch only executable
application.where as using system.util.run we can launch any
type of application.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / qtester
invoke application is used for invoking the Executable files
only(.Exe).
pls correct me if i am wrong.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / nallapusalavijay
Infact InvokeApplication & Systemutil.run are not used for same purpose.
Both are used to launch applications:
1: InvokeApplication : Used for invoking the .Exe (Executable) Applications only.
SystemUtil.run : used for invoking the following Applications :
--> .exe
--> .txt
--> .doc
--> .xls
--> URL's (Web Appl.) also .......
2:In InvokeApplicstion we cannot able to give the URL of Application But in Systemutil.Run We can Specify the URL Of Application
Syntax: Invokeapplication
Invokeapplication"Path of Application.exe"
Syntax:SystemUtil
Systemutil.Run "IExplore.exe","WWW.Google.com"
| Is This Answer Correct ? | 6 Yes | 3 No |
Answer / raj
we can use both in QTP.
Invoke application method is the old method. and The
InvokeApplication method can open only executable files and
is used primarily for backward compatibility.
system util.run is the new method. it will support to open
any files.
| Is This Answer Correct ? | 2 Yes | 0 No |
What is the difference between the design-time and run-time data tables?
Could anyone please tell me one situation where you have used recovery scenarion in real time with an example?
How to creating an output value using quicktest professional?
How to build scripts that access data from external sources?
how can i call function (which has link with excell sheet at a remote location) within another function
Wht is Smart Identification Mechanisam in QTP..Actually when do we this Technology means during Recording or running ....how is technology works. Anybody can expalin this .....Thanks in advacne
Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538
What the genaric function to connect Sql Server using Sql Server Authentication and Windows Authentication
Explain about Hybrid Framework
What is the difference between run time object and test object?
QTP 1.What type of bugs u commonly find in u r project? 2.what is agile testing explain with example? 3.application is given req n functionality r missing then how can u start testing? 4.what r the types of defect tracking tools? 5.what is functionality testing? 6.what is change req how u use it? 7.diff bet gul n functional testing? 8.test cases for IE 6.0? 9.where do u store test cases? 10.what r design objects in qtp? 11.what r 5 types of objects in qtp? 12.how to change .mtr to .tsr n vice versa? 13.in which situations qtp will not recoznize objects? 14.how to call .vbs fuctions, library files in qtp? 15.if 10 windows r ope write command to close all windows in qtp? 16from what stage u start automation in u r project? 17.what is VSS? it is usedin automationr manual? 18.size of object repository? 19.how to conduct GUI testing n performance testing on MS-Word? what r performance TEST CASES? 20. use of virtual objects explain? 21.how to connect buzilla with qtp? 22. what is API ? 23.how to merge 2 object repositories in qtp? 24.what is recovery scenario manager? 25. diff bet link n hyper link? 26.diff bet test case n test case scenario? 27.what is relational testing? 28.where do we write test cases? 29.what is base line in testing? 30.what r key process areas(KPA) in u r company? 31.what is hot fix? 32.what is sql injection? 33.what is valnerability? 34.what is TOM in qtp? 35.can we do qtp testing with out creating objects in object repository? can we completely write code in expert view only? 36.where we cant do automation testig? give example using OR is a advantage r a disadvantage?
What is API?