Running the GeneralEvents_OnStopTest event
- 9 years ago
Events are triggered automatically when some conditions are met. For Eg : OnLogerror, OnUnexpectedwindow etc. They are used to manage things that happens dynamically during runtime. For example if we need to do something specific when a error is logged. We don't know when this is going to happen. When ever an error is logged from any part of the project suite this even will be triggered.
2. At the endo of the test suite/start of a test suit. : We exactly does know when this is going to happen and we candefined a method that can perform the actions to be done and just call those at the Start/End of test suite. Hope this helps
3. At the end of an individual test run/start of an individual test run. We exactly does know when this is going to happen and we candefined a method that can perform the actions to be done and just call those at the Start/End of test suite. Hope this helps