JavaScript: Continuum for TestNG on Sauce Labs

  • Updated

About Continuum for TestNG on Sauce Labs

Continuum for Karma/Jasmine is an accessibility testing tool that allows developers to conduct automated accessibility testing using their existing Sauce Labs configuration.

Sauce Labs is a cloud-based, web and mobile application automated testing platform. It currently provides the world’s largest continuous testing cloud for web and mobile applications. TestNG is a testing framework for the Java language. Continuum for TestNG on Sauce Labs provides developers with an easy and painless way to address accessibility concerns during the development process.

Continuum for TestNG on Sauce Labs includes:

  • Access Engine, specifically the automatic tests included with this accessibility testing engine
  • A sample project that allows users to understand how to run automated accessibility testing on a web page or particular component within a web application 

Getting Started with Continuum for TestNG on Sauce Labs


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 TestNG on Sauce Labs from the AMP Toolbox.

  2. Add your Sauce Labs username and access key to the `src/main/resources/` file, editing the `saucelabsUsername` and `saucelabsAccessKey` properties, respectively.  

Running Tests

Go to 'src/test/java/com/' and 'src/test/java/com/' and replace "" in both files ( and with the URL of your application. window with the url needing replaced highlighted within the code 

If you would like to test certain element in your web page, make sure to change CSS selector from "#wrapper" to any CSS selector you would like to test in 'src/test/java/com/' 

Use 'mvn test' to run the tests. 

You can see the testing results in your IDE, and you should also be able to view the details in Sauce Labs' Dashboard. 

Sauce Labs dashboard detail view

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


Email Level Access support at 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 0 found this helpful

Have more questions? Submit a request