Recipe 25Drive a Windows App Using White


You want to drive a Windows application through its user interface. You have a battery of integration-level tests that bypass the GUI (I hope!) but also want a quick smoke test to exercise the entire program on your continuous integration server whenever someone makes a change.


  • The White library for GUI testing[159]

  • UIA Verify for exploring the structure of your GUI[160]

  • The setup and code from Recipe 24, Test .NET Code with SpecFlow, including the following:

    • Microsoft Visual Studio Professional

    • SpecFlow

    • SpecRun


In Recipe 24, Test .NET Code with SpecFlow, we used the SpecFlow test framework to write step definitions in C# and drive .NET code. By itself, SpecFlow ...

Get Cucumber Recipes now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.