GUI testing with python (SendKeys)

Simon Brunning SBrunning at
Tue Apr 29 10:15:16 CEST 2003

> From:	Dave Brueck [SMTP:dave at]
> I've been happy with AutoIt ( as it
> simulates keypresses, mouse clicks, and a few other things. There is no
> Python binding but it does have an ActiveX interface you can use, so that
> works just as well, e.g.:
> from win32com.client import Dispatch
> c = Dispatch('AutoItX.Control')
> c.WinActivate('SomeApp', '')
> c.LeftClick(400, 200)
You might find "Driving win32 GUIs with Python" interesting -

Simon Brunning
TriSystems Ltd.
sbrunning at

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution, or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful. TriSystems Ltd. cannot
accept liability for statements made which are clearly the senders own.

More information about the Python-list mailing list