Automated testing for HTML5Accessibility.com
Перейти к файлу
David Brett 4b512418ab Merge pull request #2 from meksh/patch-1
Handle casting into Int64
2016-04-18 16:34:40 -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 Revert "Generate UIAutomationCore.dll dynamically now" 2016-04-13 14:45:59 -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 Added help for Session Not Created error 2016-04-18 14:24:43 -07:00
EdgeA11yTools.cs Handle casting into Int64 2016-04-18 16:33:44 -07:00
EdgeStrategy.cs Added delay before first element 2016-04-18 11:46:51 -07:00
ElementConverter.cs Added LiveSetting check for output 2016-04-15 12:14:25 -07:00
Interop.UIAutomationCore.dll Revert "Generate UIAutomationCore.dll dynamically now" 2016-04-13 14:45:59 -07:00
Javascript.cs Added more robust testing for hidden-att 2016-04-18 15:31:13 -07:00
Program.cs Refactoring Program.cs 2016-04-18 14:17:22 -07:00
README.md Revert "Updated readme" 2016-04-13 14:44:45 -07:00
TestCaseResult.cs Removed truncation 2016-04-04 11:14:12 -07:00
TestData.cs Another way of parsing things 2016-04-18 16:11:46 -07:00
TestStrategy.cs Moving Edge-specific code to EdgeStrategy 2016-03-24 09:51:18 -07:00
packages.config init 2016-03-15 15:16:08 -07:00
run.ps1 Added ability to run only one test 2016-04-18 10:29:51 -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".