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                      
tip   To Refer this Site to Your Friends   Click Here
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
 
How to create Userdefined Function.Please write the steps ans also provide example where exatcly we use it. HP1
what is the difference between image and bitmap check point  3
what are the mandatory and assistive properties of objects in QTP?What is attached text?Plz assist me with proper answer. MBT5
What is keyword driven Testing Framework. Anybody can explain it in details... Pls anybody can give the answer.. Thanks in advance... Navis1
Can you tell me any books or websites to learn VB Script for QTP ??  1
How can i use Output Check points in QTP  1
Can anybody give the script of below things. 1. Add sheet 2. Adding columns 3. Set the values in that columns(In the rows) 4. Close the sheet 5. How can we create 3 sheets in one Excel sheet?? TCS2
when i was doing the Flight reservation with QTP calculating the tickets i got Type mismatch: '[string: ""]' in "If cdbl(tot)=cdbl(p)*t Then" error. where I am doing the mistake Could you please tell me.  4
While recording a login window QTP is identifying only parent window,then how can u identify the child objects. Symphony2
w is recovery senario manager Infosys3
. Types of properties that Quick Test learns while recording?  1
What is XML checkpoint in QTP. How we can use in Web Based application LinkEdge2
In qtp,how to interact tool & application build? Polaris1
For Regression testing already written test cases are sufficient? CTS2
How to handle the exceptions using recovery secnario manager in Qtp?  2
What is the Difference between current version of QTP and QTP 8.2. Pls kidly Anybody let me know. Thanks in advance. TCS1
explain virtual object? in detailed? pls any one explain me? Cap-Gemini2
How many check points are there in QTP and what are they?  5
Does QTP recognize two diff browser's at a time..?if possible how..? Is it possible run scripts on Mozilla which are recorded on IE..?..How..? Semantic-Space10
How you automate testscripts one by one or moduelwise or all at once  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