ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/allinter/public_html/common/queries.php on line 15
Question
what is the difference between invoke application and 
system.util.run
 Question Submitted By :: Sridhar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 1
Useing these two funcations, we can launch the application 
on the WR window.

Thanks & Regards,
RatnaRao
 
Is This Answer Correct ?    0 Yes 5 No
Allin
[Tech Mahindra]
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 2
invoke application used in WinRunner.
system.util.run used in QTP.
Both are used for the same purpose but in different tools.
 
Is This Answer Correct ?    0 Yes 7 No
Kamal
 
 
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 3
hi.invoke application and system.util .run botha re 
same.bue first on is used in winrunner and it contains 
sw_show method and system.util.run is used by QTP and it 
contains methos as open but the purpose is same
 
Is This Answer Correct ?    0 Yes 5 No
Raju
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 4
We can use both Invoke Application & systemutil.run in QTP

QTP can be said as it has more advanced feature than what 
winrunner supports
 
Is This Answer Correct ?    3 Yes 4 No
Srinath
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 5
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 ?    4 Yes 3 No
Rao' Prasad
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 6
invokeapplication and system.util.run both serves the same 
purpose in QTP, but invokeapplication used while you are 
writing the script where as system.util.run is used when 
you record the application under test.

invoke_application is used in WinRunner to launch the 
application.
 
Is This Answer Correct ?    1 Yes 1 No
Angel
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 7
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 ?    5 Yes 1 No
Prasad
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 8
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 ?    0 Yes 1 No
Nath .t
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 9
Invoke application invoke only .exp files,
 systemutil.run invoke any type of files.
 invoke application can be used in in winrunner,system 
util.run can be used in QTP.both of the phenominon is same.
 U have  any qurriers contact with me through mail.
mail id:physics143@gmail.com
 
Is This Answer Correct ?    0 Yes 1 No
Ramarao
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 10
both are used for launch application but invoke-application
used during script writing& syssem.util.run is used during 
recordimg both are used in QTP
 
Is This Answer Correct ?    0 Yes 1 No
Sreenivasa Rao Boddu
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 11
Invoke_Application is invoke the Exicutable Aplication.

If .Exe is not there invoke_application Does not work.

Systemutil.run We work in real time sinariyo becouse it 
execute the file what the path we are giving.
 
Is This Answer Correct ?    1 Yes 0 No
Sreeom
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 12
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 ?    1 Yes 0 No
Ravindra
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 13
Hi,

Invoke and Systemutil.run are used to open an application. 
But the difference is that invoke function and 
systemutil.run is object.method. Generally QTP contains 
object.method with in the VB script.
 
Is This Answer Correct ?    0 Yes 0 No
Lochana
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 14
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 ?    1 Yes 0 No
Raj
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 15
Both can be used by QTP. Invokeapplication is used to 
open  .exe files where as Systemutil.run is used to run any 
application. 
For ex: 
1. For this path "C:\Program Files\Mercury 
Interactive\QuickTest 
Professional\samples\flight\app\flight4a.exe" both will work
2. For the path "C:\Documents and 
Settings\Kishore\Desktop\Flight.lnk" Only Systemutil.run 
will work, but not invoke application
 
Is This Answer Correct ?    1 Yes 2 No
Kishore
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 16
You can run any application from a specified location using a SystemUtil.Run statement. 

"SystemUtil.Run" is especially useful if your test includes more than one application. 

You can specify an application and pass any supported parameters, or you can specify a file name and the associated application starts with the specified file open. 

for e.g. SystemUtil.run "iexplore.exe", "www.gmail.com"


"InvokeApplication" invokes an executable application.
 
Is This Answer Correct ?    0 Yes 0 No
Thirumalareddy
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 17
Invokeapplication("  ") is use for Windows Application and 
systemutil.run is used for Web Based Application.
 
Is This Answer Correct ?    1 Yes 0 No
Gaurav Kumar
 
  Re: what is the difference between invoke application and system.util.run
Answer
# 18
Invoke application is used to invoke any .exe file, where as
SystemUtil.Run works with any system utilities like
“Iexplore” apart from .exe file

For more details on the qtp refer to this blog:
http://ssofttesting.blogspot.com
 
Is This Answer Correct ?    1 Yes 0 No
Sunil Kumar.m
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Give some brief idea about a) Active x check b) Alt property check c) Applet object check d) Frame object check e) Multimedia links check f) Server side image check g) Table object check CTS1
How can i use Ordinal identifiers and Smart identification methods suppose i want to know the index no of check box  1
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH TCS6
Hi All Below is my script which i made for lgin into Flight.exe. SystemUtil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\","open" Dialog("Login").WinEdit("Agent Name:").Set DataTable ("p_Text", dtGlobalSheet) Dialog("Login").WinEdit("Agent Name:").Type micTab Dialog("Login").WinEdit("Password:").SetSecure DataTable ("p_Text1", dtGlobalSheet) Dialog("Login").WinButton("OK").Click If Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton ("OK").Click datatable.Value(3)= "Incorrect password. Please try again" Dialog("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist Then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)="Please enter agent name" Dialog ("Login").WinButton("CANCEL").Click elseif Dialog("Login").Dialog("Flight Reservations").WinButton("OK").exist then Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click datatable.Value(3)= "Please enter password" Dialog("Login").WinButton ("CANCEL").Click else Window("Flight Reservation").Move 309,146 datatable.ExportSheet "C:\Raj\Result.xls" ,1 Window("Flight Reservation").Close End If I want to capture the Message string from Dialog("Login").Dialog("Flight Reservations" Also pls let me know if this is the right way to do the script for login. Pls provide some script for login Flight.exe Thanks in advance Raj Dhiman  1
How to Set the Global Sync Timeouts in QTP?  1
Hi Friends,will any body tell to Me for which Auomation Tool their is great Requirement inht eMarket Eithr the QTP or WINRUNNER and for what reason and how long it is going to remain and wat the Scope for the automation Testing In the Future Please tll to Me In Details Ok .  2
If an application name is changing frequently i.e while recording it has name “Window1” and then while running its “Windows2” in this case how does QTP handle? Covansys4
How many ways we can parameterize data in QTP ?  6
where did you automate in your project?(please tell me example senarios)  2
What is the use of "Define new test object" in QTP 9.1 When should we use? Explain?  4
w is fragmentation and paging MBT1
how can i add an action(external action) programmatically? Ordain-Solutions2
what will be there in keyword view and expert view?  1
the question was on what techonlogy u been working on i said VB then he asked me the addin for VB in Qtp? BirlaSoft3
Hi cud you plz answer my question.. what is the size of Object Repository? TCS8
What is the process for creating an automated test script using QTP assuming you have reviewed the manual test case and understand the requirements? Infosys1
How to convert non-reusable action into reusable action in QTP?(i know by default QTP will take it as a non-reuable action )(Chandana) plz urgent? Wipro3
How to load a object repository in QTP during runtime? Virtusa1
How to watch currnet value of an object like OK buton or edit box with "Agent Name:" label. in watch expression tab? Cap-Gemini2
anyone can explain about "Hybrid framework" in QTP  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com