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

Showing Answers 1 - 2 of 2 Answers

Priya

  • 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 

  Was this answer useful?  Yes

arun_hitz

  • Feb 6th, 2009
 

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.

  Was this answer useful?  Yes

Give your answer:

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

 

Related Answered Questions

 

Related Open Questions