When automated tests are running, it is important to ensure that an error in the test will not result in the rest of the test not running. To do this, we recommend adding general Event Handlers to each use case, at the very top level of the use case.
The aim of adding Event Handlers here is:
A prerequisite for using Event Handlers in a global way is the structure of your tests. Each use case must be contained in a single Test Case , and the use cases must be independent from each other - starting in a well-defined state and leaving the AUT in a well-defined state 5.1.3.
The following steps describe how to set up a global error handling concept in your tests. They assume that you have set up a category structure as described earlier 5.3.1.