TestProject Forum
Powered by leading experts in the test automation community

Test-Level Recovery Test (Teardown method)

I’m looking for a way to implement a recovery/cleanup test that will run if any step within a test fails, just like the concept of a Teardown method in selenium, or a try/finally clause. Is there any way to do this currently?

There isn’t something for the entire test, but you can do it for problematic steps. In the step go to On Failure Behaviour and select Recovery Test and insert the test name.