Skip to Main Content
Cucumber Recipes
book

Cucumber Recipes

by Ian Dees, Matt Wynne, Aslak Hellesoy
February 2013
Intermediate to advanced content levelIntermediate to advanced
272 pages
5h 45m
English
Pragmatic Bookshelf
Content preview from Cucumber Recipes
Recipe 25Drive a Windows App Using White

Problem

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.

Ingredients

  • 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

Solution

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Cucumber Cookbook

Cucumber Cookbook

Shankar Garg
Basiswissen Softwaretest , 6th Edition

Basiswissen Softwaretest , 6th Edition

Andreas Spillner, Tilo Linz
React Cookbook

React Cookbook

David Griffiths, Dawn Griffiths

Publisher Resources

ISBN: 9781941222607Errata