Skip to main content

Robot Framework Library wrapper axe-selenium-python

Project description

Robot Axe Library

GitHub license

This project is a RobotFramework Library wrapper for axe-selenium-python package. In this project we abstracted the entire library setup for use in robotframework and also implemented the entire interface for communicating with the AXE library allowing to define specific filters to look for accessibility issues in addition to allowing the necessary assertions on the test side, for your your test passes or fails depending on the configuration you want, allowing a maximum number of issues, excluding elements you don't want to analyze, and allowing you to define specific accessibility rules, levels, tags and impact.

How to install

pip install robot-axelibrary==0.1.8

How to use

*** Settings ***
Library     OperatingSystem
Library     SeleniumLibrary
Library     RobotAxeLibrary

*** Test Cases ***
Default Check Pass

   Open Browser                        https://retrospective-twitter.web.app/  chrome
   Wait Until Page Contains            Faça o login com a sua conta do twitter
   Check for accessibility issues      report_file=report_accessibility.json
   Should Not Exceed Maximum Issues    4

Keywords Documentation

Click Here

Glossary

  • Violation: A violation is a type of accessibility problem, for example a color-contrast problem or a missing aria-label
  • Issue: An issue is the occurrence of a violation in one element or more, for example we can get 2 issues from the type color-contrast and 1 from aria-label

Feature Request

If you have any feature request just open an issue describing your request or feel free with your feature! Any pull pull request are welcome!

Found an issue?

Register the issue here and wait for us to solve it as soon as possible. In addition, any contribution is welcome, so feel free to make a pull request if you want to solve any problem :happy:

License

MIT

Project Inspiration

robotframework-axelibrary by @adiralashiva8

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robot-axelibrary-0.1.8.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

robot_axelibrary-0.1.8-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page