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.5 More refactoring, more tests

07-Mar-2006

  • Added wrapper classes for Menus and MenuItems this enabled cleaner interaction with Menu’s. It also gives more functionality - you can now programmatically Click() on menus, and query if a menu item is checked or not.

  • Added application.WindowSpecification.Wait() and WaitNot() methods. These methods allow you to wait for a control to exist, be visible, be enabled, be ready (both enabled and visible!) or to wait for the control to not be in any of these states. WaitReady(), WaitNotEnabled(), WaitNotVisible() now use these methods. I was able to also add the missing methods WaitNotReady(), WaitEnabled(), WaitVisible(), WaitExists(), WaitnotExists(). Please use Wait() and WaitNot() as I have Deprecated these Wait* methods.

  • Slightly modified timeout waits for control resolution so that a timed function more accurately follows the timeout value specified.

  • Added application.Application.start() and connect() static methods. These methods are factory methods in that they will return an initialized Application instance. They work exactly the same as start_() and connect() as they are implemented in terms of those.

    from pywinauto.application import Application
    notepad = Application.start("notepad")
    same_notepad = Application.connect(path = "notepad")
  • Updated the examples to follow changes to the code - and to make them a little more robust.

  • Added a new Controls Overview document page which lists all the actions on all controls.

  • Added more unit tests now up to 207 from 134 (added 68 tests)

You can join the mailing list or view the list archives at: http://sourceforge.net/mail/?group_id=157379

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page