Skip to main content

Robot Framework resources for automating WebAIM Wave Toolbar

Project description

WAVE-library for Robot Framework

WAVE is an accessibility analyzing service and Firefox add-on created by WebAIM. This library provides a few Robot Framework resources for executing automated analyzes with the Firefox add-on.

(This package includes a Firefox profile with The WAVE Toolbar extension pre-installed. The WAVE toolbar, its interface elements, design elements, functionality, and underlying code are (c) WebAIM.)

Installation

$ pip install robotframework-wavelibrary

Example test

*** Settings ***

Library  WAVELibrary

Suite setup  Open WAVE browser
Suite teardown  Close all browsers

*** Test Cases ***

Test single page
    [Documentation]  Single page test could interact with the target
    ...              app as much as required and end with triggering
    ...              the accessibility scan.
    Go to  http://www.plone.org/
    Check accessibility errors

Test multiple pages
    [Documentation]  Template based test can, for example, take a list
    ...              of URLs and perform accessibility scan for all
    ...              of them. While regular test would stop for the
    ...              first failure, template based test will just jump
    ...              to the next URL (but all failures will be reported).
    [Template]  Check URL for accessibility errors
    http://www.plone.org/
    http://www.drupal.org/
    http://www.joomla.org/
    http://www.wordpress.org/

Running

$ pybot demo.robot

Read the docs for more detailed information.

Changelog

0.1.3 (2013-05-26)

  • Fix to take page screenshot only when WAVE Toolbar reports errors

0.1.2 (2013-05-26)

  • Updated documentation.

0.1.1 (2013-05-25)

  • Fix packaging (removed non-ascii character from README)

0.1.0 (2013-05-25)

  • First pre-release

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

robotframework-wavelibrary-0.1.3.zip (344.7 kB view hashes)

Uploaded Source

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