robotframework-axelibrary

Robot Framework keyword library wrapper around axe-selenium-python library


Keywords
robotframework, testing, automation, axe-selenium-python
License
MIT
Install
pip install robotframework-axelibrary==0.1.4

Documentation

robotframework-axelibrary

Wrapper of axe-selenium-python for accessibility testing using robotframework

PyPI version Downloads PRs Welcome Maintenance

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

Robot Result

Robotframework-Axe-Library

Helpful Link


repo if you like it