Follow

Access Continuum for Protractor

About Continuum for Protractor 

Access Continuum for Protractor allows organizations managing AngularJS applications to embed accessibility testing in their existing automated testing process using Protractor. Protractor (https://www.protractortest.org/#/) is an end-to-end test framework for Angular applications.

Continuum for Protractor includes: 

  • Access Engine, Level Access' testing engine, specifically the fully automatic tests
  • A sample project for Protractor, providing users with an example of how to integrate accessibility testing into their current automated testing process 

Getting Started with Continuum Protractor  

Prerequisite

Access Continuum for Protractor requires Node.js (https://nodejs.org/en/

Installation and Configuration

  1. Download Continuum for Protractor from AMP ToolboxContinuum for Protractor in the AMP Toolbox

  2. In the console, cd\ to the directory containing the Continuum for Protractor download and enter 'npm install' to install.

  3. After installation, update the webdriver:
    `node node_modules/protractor/bin/webdriver-manager update`

Testing with Access Continuum for Protractor 

  1. Once installed, you can test with Continuum for Protractor using:
    `node node_modules/protractor/bin/protractor ./protractor.conf.js`

Test results will display the list of accessibility errors, along with details to guide remediation efforts. See "Access Continuum Test Results" for more details. 

 

Other Details

The `spec/e2e/example_app_spec.js` file shows how to use Continuum. Generally speaking, it does the following:

  1. Converts Access Engine into an injectable format.
  2. Injects Access Engine into the page when tests are run.
  3. Collects results via a JavaScript Promise.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Level Access Support
www.levelaccess.com | 800.889.9659
© 2005 - 2018 - Level Access All rights reserved.
Privacy | Security | Credits | License