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.3.9 Experimental! New Sendkeys, and various fixes


  • Major change this release is that Sendkeys is no longer a requirement! A replacement that supports Unicode is included with pywinauto. (hopefully soon to be released as a standalone module). Please note - this is still quite untested so this release should be treated with some care..
  • Made sure that default for WindowSpecification.Window_() was to look for non top level windows. The defaults in find_windows() had been changed previously and it now needed to be explicitly overridden.
  • Fixed a missing reference to ‘win32defines’ when referencing WAIT_TIMEOUT another typo of false (changed to False)
  • Removed the restriction to only get the active windows for the process, now it will be possible to get the active windows, even if a process is not specified. From it gets the active window for the foreground thread.
  • Hopefully improved Delphi TreeView and ListView handling (added window class names as supported window classes to the appropriate classes).
  • Added support for running UI tests with reference controls. (requried for some localization tests)
  • Various PyLint and PEP8 fixes made.

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