Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

adiralashiva8/robotframework-axelibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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