When you run a mobile test in the cloud, mabl collects logs and presents that information on the test output page. This article offers ways to review output for a mobile test run:
- Check the results summary
- Review step output
- Investigate prior steps
- Compare to other test runs
- Replay in the Trainer
Check the results summary
If the test failed, use the failure analysis on the Results summary as a starting point for troubleshooting.
Review step details
For a more comprehensive understanding of the test run, review the step details. Step details indicate what action each step performed, whether it passed or failed, and how long it took to execute. Click on a step to review the screenshots and logs for a given step:
- Screenshots show the state of the UI before mabl executed the step
- Logs provide more details about what mabl did during the step
Viewing output for a passing test
Investigate prior steps
To isolate issues in failed runs, investigate steps before the failing step to identify whether the issue started earlier in the test. For example, if a test failed because it couldn't find a new account, it may be due to a previous submit action that didn't succeed.
Compare to other test runs
If you are reviewing a failed test that previously passed, or if your test intermittently fails, compare the run to other test runs.
- For failed runs, you can access the Run history from the Results summary tab.
- For passing runs, access the run history from the Time of run dropdown
Comparing a passing run to other runs
Replay in the Trainer
If the result of the mobile test run is unexpected and you want to get a better understanding of how the test is executed, replay the test in the Trainer:
- Click on the Edit test button.
- Select "Launch Trainer." If the test failed, you may also select "Launch and replay to failed step."
Replaying a failed test in the mabl Trainer
Next steps
Depending on the situation, consider one of the following next steps:
- Adding a failure reason
- Creating or linking to a Jira issue