On this page:
- About Continuum for C#
- Installation and configuration
- Test with Continuum for C# (xUnit/Selenium)
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 and configuration
- Download Continuum for C# from AMP Toolbox.
- Unzip the downloaded package.
- In the console, install dependencies:
Test 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.
Submit questions using the support form.