Continuum for Java (Cucumber/Selenium)

  • Updated

About Continuum for Java

Access Continuum for Java (Cucumber/Selenium) allows developers who are familiar with Cucumber and Selenium an easy and painless way to embed automated accessibility testing for their applications written in Java.

Selenium is a browser automation tool. It automates web application for testing purpose and is one of the most popular automated testing tools. Cucumber is a Behavior Driven Development (BDD) testing tool. 

By integrating with this widely used automated test framework, Continuum for Java (Cucumber/Selenium) provides developers with an easy and painless way to address accessibility concerns during the development process.

Continuum for Java(Cucumber/Selenium) includes 

  • Access Engine, specifically the automatic tests included with this accessibility testing engine
  • A sample project for Java(Selenium-Cucumber) that allows users to understand how to integrate accessibility testing into their current automated testing process. 

 

Getting Started with Continuum for Java

Prerequisites

*Note: All versions of Java prior to 11 are End of Life. So Java 11 is the minimum supported version for Access Continuum)

Installation and Configuration

  1. Download Continuum for Karma/Jasmine from the AMP Toolbox.

Running Tests

To run tests, use 'mvn test.'

In order to help you better understand how Continuum for Java (Cucumber/Selenium) works, we include a sample project which tests www.levelaccess.com with Cucumber and Selenium.

To test your own application, find the file for the sample project, named "continuum-pro-java/src/test/resources/cucumber/webpage.feature." 

Simply replace "www.levelaccess.com" in this file (continuum-pro-java/src/test/resources/cucumber/webpage.feature) with the URL of your application. Then run the test using "mvn test" in your IDE. 

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

Support

Email Level Access support at ampsupport@levelaccess.com for any question, or get support from the community and the Level Access development team by posting questions on Stack Overflow with the following tags: #acccessibility, #webaccessibility and #wai-aria

 

Was this article helpful?

0 out of 5 found this helpful