Troubleshoot report generation issues with automated tests
Learn how to fix issues where App Accessibility automated test reports fail to generate when using Android devices.
Issue
App Accessibility automated test reports fail to generate when using Android devices.
Cause
This issue is caused by the disableSuppressAccessibilityService: false
capability. When this capability is set in your test configuration, it interferes with the App Accessibility testing framework’s ability to analyze and generate reports.
The disableSuppressAccessibilityService
capability is used to control accessibility services when running automated tests. When set to false
, it prevents accessibility services from being suppressed, which can interfere with App Accessibility test report generation on Android devices.
Resolution
To resolve this issue, remove the disableSuppressAccessibilityService
capability from your test configuration:
-
Open your test configuration file: This is where you define test capabilities (generally your test setup or configuration file).
-
Remove the
disableSuppressAccessibilityService
capability:... capabilities: { 'bstack:options': { ... // Other capabilities }, 'appium:disableSuppressAccessibilityService': false // Remove this line }
-
Verify the fix: Run your App Accessibility tests again on Android devices.
-
Confirm the resolution: Check the App Accessibility testing dashboard to ensure that accessibility reports are now being generated successfully.
Related links
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!