Automated testing for HTML5Accessibility.com
Перейти к файлу
dhbrett 1583fa3e55 Generate UIAutomationCore.dll dynamically now 2016-04-13 11:39:11 -07:00
DriversExecutables init 2016-03-15 15:16:08 -07:00
Properties init 2016-03-15 15:16:08 -07:00
.gitattributes init 2016-03-15 15:16:08 -07:00
.gitignore Generate UIAutomationCore.dll dynamically now 2016-04-13 11:39:11 -07:00
A11y.csproj Split TestStrategy into abstract parent of Edge 2016-03-16 11:28:34 -07:00
A11y.sln init 2016-03-15 15:16:08 -07:00
DriverManager.cs init 2016-03-15 15:16:08 -07:00
EdgeA11yTools.cs Added improved logging 2016-04-11 11:56:35 -07:00
EdgeStrategy.cs Added improved logging 2016-04-11 11:56:35 -07:00
ElementConverter.cs init 2016-03-15 15:16:08 -07:00
Javascript.cs Getting up to date with new tests 2016-03-24 11:21:56 -07:00
Program.cs Updated section element 2016-03-31 15:12:22 -07:00
README.md Fixed typo in readme 2016-03-31 16:14:34 -07:00
TestCaseResult.cs Removed truncation 2016-04-04 11:14:12 -07:00
TestData.cs Updating input-datetime-local 2016-04-11 16:02:19 -07:00
TestStrategy.cs Moving Edge-specific code to EdgeStrategy 2016-03-24 09:51:18 -07:00
generate_dll.ps1 Generate UIAutomationCore.dll dynamically now 2016-04-13 11:39:11 -07:00
packages.config init 2016-03-15 15:16:08 -07:00
run.ps1 Generate UIAutomationCore.dll dynamically now 2016-04-13 11:39:11 -07:00

README.md

A11y Automation Test Suite

An automated implementation of html5accessibility.com for Microsoft Edge.

Running

If you have Visual Studio, simply open A11y.sln and run.

Otherwise you can build and run in one step by calling run.ps1 within PowerShell.

Building and running manually

It's also possible to run manually without Visual Studio or PowerShell.

First navigate to the project's root directory and install nuget: powershell "(new-object net.webclient).DownloadFile('https://nuget.org/nuget.exe', 'nuget.exe')"

Then restore the packages: nuget.exe restore A11y.sln

Finally find MSBuild.exe, which comes pre-installed with the .NET framework. It will be in the C:\Windows\Microsoft.NET\Framework folder. For example: C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe. Make sure to use the version installed on your computer.

Use MSBuild to compile the solution: C:\Windows\Microsoft.NET\Framework\<VERSION ON YOUR PC>\MSBuild.exe A11y.sln

Then just run the compiled program: bin\Debug\Microsoft.Edge.A11y.exe

Scores and reporting

For a full explanation of how scores are calculated, see html5accessibility.com.

After the tests have run, the results are printed to the console and saved in the root directory of the project with the name "scores.csv".