When we think of writing automated tests with ruby and cucumber, Windows desktop applications are not the first thing that come to mind. If you have looked into writing acceptance tests for Windows applications (native, WinForms or WPF), chances are you have come across solutions such as SpecFlow or Raconteur, but what are the options if we want to drive our tests from ruby using cucumber or RSpec?
This pre-compiler session will take you through building an acceptance test suite using some ruby gems (mohawk
, RAutomation
and cucumber
) that tap into the Microsoft UI Automation accessibility framework to automate native, WinForms and WPF applications.