TestProject Forum
Powered by leading experts in the test automation community

What is invert step result? Can someone provide examples on how to use this feature?

What is invert step result? Can someone provide examples on how to use this feature?

Hello,
Invert step result just inverts the result of the step.
If the step fails it will be marked as passed and if it passed it will be marked as failed.
This can be used to create if-else conditions by inverting the result of the test step you want to be the true condition and then adding a recovery test as an ‘on failure behavior’.
More on that here: