About Continuum for C#
Access Continuum for C# (xUnit/Selenium) allows developers who are familiar with xUnit and Selenium to easily embed automated accessibility testing for their applications written in C#, and address accessibility concerns during the development process.
Selenium is a browser automation tool. It automates web application for testing purpose and is one of the most popular automated testing tools. xUnit is a unit testing tool for the .NET software framework.
Continuum for C# (xUnit/Selenium) includes:
- Access Engine, specifically the automatic tests included with the Level Access accessibility testing engine
- A sample project that allows users to understand how to integrate accessibility testing into their current automated testing process
- A custom library with useful keywords, defined in “LevelAccess.Continuum.dll”. This file also loads the Continuum C# SDK.
- .NET Core 3.1+ (multi-platform) or .NET Framework 4.8 (Windows-only); compatible with .NET Standard 2.0
- Selenium WebDriver (nuget OpenQA.Selenium)
- Google Chrome
Google Chrome is used out of the box in this sample project, but Mozilla Firefox and Microsoft Edge are also supported.
Installation & Configuration
- Download Continuum for C# from AMP Toolbox.
- Unzip the downloaded package.
- In the console, install dependencies:
Testing with Continuum for C# (xUnit/Selenium)
In order to help you better understand how Continuum for C# (xUnit/Selenium) works, we include a sample project which tests pages on nps.gov using xUnit.
To test your own application, find the file for the sample project, named AccessibilityTests.cs.
Simply replace the URL(s) in this file with the URL of your application. Then run the test using dotnet 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.
Email Level Access support at email@example.com for any question, or get support from the community and the Level Access development team by posting questions on the Level Access Community site.