<tutor@python.org>Could someone please point me to resources that would
help me learn to pipe keyboard input for commands to a Tkinter GUI, and then
to automate saving a screen shot of the resulting GUI display?  Is this even
possible?

I'm trying to automate regression testing of a simple Tkinter GUI.  I'd like
to supplant manual entry of keyboard commands (hotkeys like Alt-F, tabs and
arrows to move among fields and buttons, data entry, 'enter', etc) with a
file holding all that stuff, and store an image of the outcome for later
review or comparison.

Simply piping a file to the GUI didn't work, but I don't know if this is
because the pipe doesn't work or because I don't know how to properly
represent events like Alt-F or Tab in the text file.  I've looked in
Programming Python and the Python Cookbook, and on the 'net, but haven't
found anything that seems helpful.

Any help would be appreciated -- I don't want to manually step through a
bunch of menu trees every time I make a change!
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to