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.
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.