Appium Test Reports
When running Appium tests on TestObject, test reports give you a convenient and organised way to browse your results. Quickly find which executions failed and which devices cause the most trouble. The test reports will automatically organise test information, such as video and device logs. This can be valuable for seeing exactly why a test failed and resolving any issues with your application. You can share the report with your colleagues and also use the report to create and track issues.
Test Reports Page
To view your test reports, first navigate to your project dashboard. From here, open the Automated Testing tab and select Appium. From your Test Reports page, you can now view all of your Test Reports to get an overview of your testing. To record if your tests passed or failed, you will need to use the Watcher Setup or the more advanced Suite Setup. If you are using the Suite Setup, you can select the Test Suites tab to view your test reports.
Test Report Data
From the Test Reports page, you can select a particular test report for more information. For each test report, you will have access to:
- App information: app name, app version, date uploaded
- Device information: device name, os version
- Test video
- Appium request list
- Device logs
- Appium logs
Screenshots are not taken automatically, so it will be necessary to add screenshots to your Appium test. You can do this using the normal Appium screenshot command, and your screenshots will be automatically added to your test report. All other data will be automatically added to your test report.
Sharing Test Reports
In order to share the test report with others, simply select the Share button from your test report. This will generate a link which you can share with your collaborators, giving them access to the full Test Report. This feature can be useful when trying to show a developer a failing test, or simply to showcase new changes to the application. They will be able to view the link conveniently, without needing an account on TestObject.
To manage your test report link, select the Share button again. This will give you access to the link as well as an option to un-share the test report.
Open an Issue
Tracking issues with your app is easy. You can open a new issue directly from the report by selecting the New Issue button. The new issue will be tracked using the built in issue tracker. You can also integrate with a third party tracker such as Github or Jira and the issue will be tracked there. The new issue will automatically include the full test report, as well as your title and description of the issue.