<a href="mailto:tutor@python.org"></a>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?&nbsp; Is this even possible?<br>
<br>I&#39;m trying to automate regression testing of a simple Tkinter GUI.&nbsp; I&#39;d like to supplant manual entry of keyboard commands (hotkeys like Alt-F, tabs and arrows to move among fields and buttons, data entry, &#39;enter&#39;, etc) with a file holding all that stuff, and store an image of the outcome for later review or comparison.&nbsp; <br>
<br>Simply piping a file to the GUI didn&#39;t work, but I don&#39;t know if this is because the pipe doesn&#39;t work or because I don&#39;t know how to properly represent events like Alt-F or Tab in the text file.&nbsp; I&#39;ve looked in Programming Python and the Python Cookbook, and on the &#39;net, but haven&#39;t found anything that seems helpful.<br>
<br>Any help would be appreciated -- I don&#39;t want to manually step through a bunch of menu trees every time I make a change!<br><br><br>