GeekInterview.com
Series: Subject:
Question: 60 of 148

Anybody can explain about Exception Handling in winrunner? What are the exception handler functions in winrunner with example?

Asked by: Interview Candidate | Asked on: Feb 1st, 2007
Showing Answers 1 - 2 of 2 Answers
Priya

Answered On : Feb 20th, 2007

EH is used  to avoid the unwanted events or errors which occur during execution, because it will interrupts the execution. The basic objective of EH is to resume the execution smoothly and successfully. EH will done by using "compile module"file. This file is non-executable or reusuable file which contains the action to avoid or handle the exception.
     There are 4 types of EH
  (i) Popup: It will be used when error occurs in a popup window suring execution.
  (ii) TSL: When error occurs in TSL script.
  (ii) Object: it is used when ever the object state is getting changed during execution.
  (iv) Web exception : used in web testing 

  
Login to rate this answer.
arun_hitz

Answered On : Feb 6th, 2009

View all answers by arun_hitz

Exception Handling comes under Recovery Scenario. It is of 2 types

1) Simple (POPUP, TSL EVENT, OBJECT STATE)
2) Compound (APPLICATION CRASH)


POPUP: Unexpected windows (error windows) gets opened during execution.


TSL EVENT: Avoid errors in functions during executions.


OBJECT STATE: Properties of object is tested.

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.