rohita
11 months agoOccasional Contributor
Perform some operations when Test is failed
When test case fails I would like to perform some actions in. How can we do this with TestComplete?
You can check for Log.ErrCount property inside of the OnStopTest event
The OnLogError event is fired when Log.Error("...") occurs during a test.
Check the documentation on events (overview):
https://support.smartbear.com/testcomplete/docs/reference/events/index.html
and maybe how to handle events here:
https://support.smartbear.com/testcomplete/docs/testing-with/advanced/handling-events/index.html