Test tool - Design advise needed

P-O Bengtsson p.o.bengtsson at gmail.com
Wed Jun 14 05:36:44 EDT 2006


Hello



I am new at this list, looking forward to be a part of it.



I am trying to write a application with the functionality to record mouse
and key events, and then another functionality to replay earlier recorded
events.



It is meant to be used for testing of other applications/WebPages. I started
of with tk to catch mouse and key event. So far no worries. But I decided
that I would like to use wxpython instead. But I can not find a way to catch
the necessary event while using wxpython.

For the playback function I have been thinking about using ctypes and access
windll.user32 to move the cursor. And it should be possible to send key and
mousebutton event from windll as well I guess(?)


Is there any approach to catch user events from wxpyton? Am I on the right
track here? Is it a good ide to access windll for my replay, or is there any
better approach?

Thanks in advance
/P-O
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20060614/eea195fe/attachment.html>


More information about the Python-list mailing list