GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  QTP
Go To First  |  Previous Question  |  Next Question 
 QTP  |  Question 7 of 674    Print  
how can we terminate the application when we encounter a problem or defect in our application while we running the application in Load Runner,Win Runner and QTP.

  
Total Answers and Comments: 3 Last Update: April 22, 2007     Asked by: Rohan 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: rupesh
 

there are many ways of handling this.IN QTP we write the following snippet

what is your target application?

is it a web application or client server application

for a web application

1) if you want to close the web application on any defect , write a code snippet some thing like this

browser("B1").close in side the else condition (if you are using an if else condition)

2) if you want to exit the testing Tool for any further

use Exit global iteration in the sniipet.



Above answer was rated as good by the following members:
Lokesh M
April 04, 2006 02:13:40   #1  
rupesh        

RE: how can we terminate the application when we encou...

there are many ways of handling this.IN QTP we write the following snippet

what is your target application?

is it a web application or client server application

for a web application

1) if you want to close the web application on any defect write a code snippet some thing like this

browser( B1 ).close in side the else condition (if you are using an if else condition)

2) if you want to exit the testing Tool for any further

use Exit global iteration in the sniipet.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
May 18, 2006 05:42:17   #2  
madhu        

RE: how can we terminate the application when we encou...

Press cntrl+F3

or for wrun we can kill the process by press the task mgr click on th process select the process wrun.exe and terminate it.


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
April 21, 2007 21:34:06   #3  
ban        

RE: how can we terminate the application when we encou...
If we know the error type we use Recovery Scenario to close the apllication.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape