Forum Discussion
AlexeyKolosov
Staff
14 years agoHi Daniel,
Here's what you can do:
1. Add a global boolean variable to your tests (can be a project variable, for example).
2. Implement an event handler for the OnLogError event.
3. In the event handler, set the variable to True.
4. In the test item which handles e-mail reporting, check the variable's value. If the value is True, this means that at least one error occurred during the test execution. Otherwise, you can send the "All tests passed" notification.