GUI testing with python (SendKeys)

Simon Brunning SBrunning at trisystems.co.uk
Tue Apr 29 04:15:16 EDT 2003


> From:	Dave Brueck [SMTP:dave at pythonapocrypha.com]
> I've been happy with AutoIt (http://www.hiddensoft.com/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 -
<http://www.brunningonline.net/simon/blog/archives/000652.html>.

Cheers,
Simon Brunning
TriSystems Ltd.
sbrunning at trisystems.co.uk




-----------------------------------------------------------------------
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