Your test may fail because a bug has been found, that's a good failure, your test has detected a bug in the system!. Other reasons may be caused by the way the test was created.
So let's go over the different reasons and see how to identify and fix the failure.
What to do when the test fails?
Go to the failing step in Test Recorder result page and identify the error message.
Look at a screenshot taken during the run and compare it to the baseline.
If you suspect this is a bug, run the test manually and see if it can be reproduced.
- We summarized below the most common reasons and how to resolve them. These are the recommended actions you should take to handle the test failures**