Searching for a module to generate GUI events

  • Thread starter Stephan Kuhagen
  • Start date
S

Stephan Kuhagen

Hello

I'm searching for a Python Module which is able to generate GUI events on
different platforms (at least X11 and Windows, MacOSX would be nice), but
without being a GUI toolkit itself. So PyTk is not a choice, because I need
to use it, to control GUIs of other Programs. I want to generate Mouse
events (move, click etc.) and keyboard events and inject them directly into
the event-queue of the underlying window system.

Does somebody know such a module or do I have to utilize platform specific
tools from within Python?

Regards and Thanks
Stephan
 
U

utabintarbo

Stephan said:
Hello

I'm searching for a Python Module which is able to generate GUI events on
different platforms (at least X11 and Windows, MacOSX would be nice), but
without being a GUI toolkit itself. So PyTk is not a choice, because I need
to use it, to control GUIs of other Programs. I want to generate Mouse
events (move, click etc.) and keyboard events and inject them directly into
the event-queue of the underlying window system.

Does somebody know such a module or do I have to utilize platform specific
tools from within Python?

Regards and Thanks
Stephan

http://pywinauto.pbwiki.com/ for Win32
 
P

Paul Boddie

Stephan said:
Thanks for the hint, looks usable. But it seems, there's nothing for X11 and
MacOSX. I didn't thought, that the problem would be so unusual...

Searching for "Python GUI testing" on Google gave this as the first
result:

http://www.redhat.com/magazine/020jun06/features/dogtail/

Comments on similar techniques for OS X can be found here:

http://www.oluyede.org/blog/2006/07/04/europython-day-1/

Other X11 projects which might support low-level interactions with
applications include the following:

http://python-xlib.sourceforge.net/
http://plwm.sourceforge.net/

Paul
 
S

Stephan Kuhagen

Paul said:
Searching for "Python GUI testing" on Google gave this as the first
result:

Thank you very much, this looks very promissing to me. Seems to be a very
usefull skill, if one is able to type the right words at the google prompt.
Think, I should learn that some day... ;-)

Stephan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top