robotframework-axelibrary
Wrapper of axe-selenium-python for accessibility testing using robotframework
Installation:
To install robotframework-axelibrary
$ pip install robotframework-axelibrary==0.1.5
Keyword documentation link
Usage:
*** Settings ***
Library SeleniumLibrary
Library AxeLibrary
*** Test Cases ***
Google Accessibility Test
Open Browser https://www.google.com/ Chrome
# execute accessibility tests
&{results}= Run Accessibility Tests google.json
Log Violations Count: ${results.violations}
# log violation result to log.html
Log Readable Accessibility Result violations
[Teardown] Close All Browsers