Robot Framework Library wrapper axe-selenium-python
Project description
Robot Axe Library
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
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
Project Inspiration
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
Built Distribution
Hashes for robot_axelibrary-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f8198b6791786236195dfc9355565725ef7b38a2e5eec8060b30e0ba8709138 |
|
MD5 | 6a7c0bb2abc3daa4e4bede06abc8aa15 |
|
BLAKE2b-256 | 7fbdb383f3616b883859a2781040289d91c523a8bf87cf41d903a6dc1f9c8eda |