Skip to content
Jeremy Kao edited this page Aug 15, 2015 · 6 revisions

WinAppDriver is a GUI test automation library for use with Windows applications, and technically it is a WebDriver implementation for Windows applications.

In the beginning, it supports only store apps, and then the support for traditional desktop application is added. As the name suggests, it aims for being a single tool for test automation of all kinds of Windows applications, therefore the support for CEF-based desktop applications and Windows Phone apps are planned as well.

To get started, follow the instructions described in Getting Started, install WinAppDriver, and try it out. Your feedback is highly appreciated.

Hope that this tool will make our life more easier if you are asked to implement automated test against Windows applications.

Background

As a test developer, and because of multi-platform release strategy, chances are that you have to implement automated tests against Windows applications, in addition to Android, iOS, web and even OS X applications.

Inspired by the design of Appium, what we want to do is encapsulate verbosity, security considerations and tricks, and expose a well-known WebDriver API to test developers. Because there is no existing open-source tools like this, we started the development of WinAppDriver in Dec, 2014.

The diagram below shows its components and how they interact.

(more...)

Philosophy

  • As a testing tool, it is important to have as few dependencies as possible.
  • Application under test (AUT) and test code do not have to run on the same machine.
  • Test developers have freedom of choice in their programming languages and testing frameworks.
  • Inject native input events to simulate user interactions whenever it is possible.
  • Follow de facto standards and be compatible with Selenium and Appium client libraries (or language bindings).
Clone this wiki locally