Skip to main content

Python library for GUI automation and testing

Project description

pywinauto is a set of python modules to automate the Microsoft Windows GUI. At it’s simplest it allows you to send mouse and keyboard actions to windows dialogs and controls.

0.2.0 Significant refactoring


  • Changed how windows are searched for (from application) This chage should not be a significant change for users

  • Started adding unit tests (and the have already uncovered bugs that been fixed). They also point to areas of missing functionality that will be addded with future updates

  • Changed from property access to Control attributes to function access If your code was accessing properties of controls then this might be a significant change! The main reasons for doing this were due to the inheritability of properties (or lack there-of!) and the additional scafolding that was required to define them all.

  • Updated the DialogWrapper.MenuSelect() method to notify the parent that it needs to initialize the menu’s before it retrieves the items

  • Added functionality to associate ‘non-text’ controls with the ‘text’ control closest to them. This allows controls to be referenced by:


    e.g. to reference the “Footer” edit control in the Page Setup dialog you could use:

  • Added a MoveWindow method to HwndWrapper

  • Did some more cleanup (fixing pylint warnings) but still not finished

  • Added some better support for .NET controls (not to be considered final)

You can join the mailing list or view the list archives at:

Project details

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page