White is a framework for automating rich client applications based on Win32, WinForms, WPF, Silverlight and SWT (Java) platforms. It is .NET based and does not require the use of any proprietary scripting languages. Tests/automation programs using White can be written with whatever .NET language, IDE and tools you are already using. White provides a consistent object-oriented API, hiding the complexity of Microsoft's UIAutomation library (on which White is based) and windows messages.
Project white has been inactive for some time, but still has many users and is a great UI automation framework.
TestStack has brought this project into it's offering to try and breathe some life into Project White.
Install TestStack.White from NuGet
PM> Install-Package TestStack.White
I have created a sample app which uses the Screen pattern. It is available at https://github.com/TestStack/White/tree/master/src/Sample%20App
Contributions to White's documentation is welcome
Pull Requests for White are welcome, please include either Unit or UI Tests covering your changes if possible.
If possible, please add a failing test to TestStack.White.UITests when you report an issue, this will allow me to fix it, and ensure there is no regression later.
Also include the following information:
- Operating System
- Target Framework (WPF, Winforms etc)
- Optionally but preferred, a failing test or a repro solution.
Thanks to Thoughtworks and specifically Vivek Singh for starting this project. We have got permission from Vivek to continue this project.