GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing Tools  >  Winrunner
Go To First  |  Previous Question  |  Next Question 
 Winrunner  |  Question 91 of 464    Print  
How do you handle unexpected events and errors?
WinRunner uses exception handling to detect an unexpected event when it occurs and act to recover the test run. WinRunner enables you to handle the following types of exceptions: Pop-up exceptions: Instruct WinRunner to detect and handle the appearance of a specific window.
TSL exceptions: Instruct WinRunner to detect and handle TSL functions that return a specific error code.
Object exceptions: Instruct WinRunner to detect and handle a change in a property for a specific GUI object.
Web exceptions: When the WebTest add-in is loaded, you can instruct WinRunner to handle unexpected events and errors that occur in your Web site during a test run.



  
Total Answers and Comments: 5 Last Update: September 28, 2007   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
April 11, 2006 15:21:49   #1  
tinkoo6 Member Since: April 2006   Contribution: 1    

RE: How do you handle unexpected events and errors?
what is the steps to handle a pop-up through exception handling?
 
Is this answer useful? Yes | No
July 25, 2006 03:33:02   #2  
shireesha v        

RE: How do you handle unexpected events and errors?
i want clear step by step procedure to insert exception with example
 
Is this answer useful? Yes | No
February 15, 2007 09:00:18   #3  
geo_tf Member Since: February 2007   Contribution: 2    

RE: How do you handle unexpected events and errors?
I have 40 scripts . Each scripts will be executed and closed with the help of call_close from main script.If an unexpected error occurs in any script then the winrunner should stop executing that particular script close the window it was handling and should return the control to the main script so that it will call_close the next scripts.The winrunner pop up should be handled or winrunner pop up should not be triggered
 
Is this answer useful? Yes | No
February 15, 2007 09:00:58   #4  
geo_tf Member Since: February 2007   Contribution: 2    

RE: How do you handle unexpected events and errors?
How do you handle unexpected events and errors?
 
Is this answer useful? Yes | No
September 27, 2007 15:54:24   #5  
Amit kumar        

RE: How do you handle unexpected events and errors?

Friends this is one of the most important question during the learning of functionality tools...Particular in winRunner functionality tool u can handle it by in-built defined Handler function or User defined Handler function.A user defined Function has the following structure...

class function name()
{
declarations;
statements;
}
Here class of the function can be either static or public.A static function is only to test within the function where it was defined.Make this function as a compile module so that your machine can generate an executable file to handle the operation.reload ur function and after the operation unload it...


 
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