Automation and Testing of Character‐graphic Programs

This paper describes a technique that allows automation and testing of character‐graphic programs using existing public‐domain tools. Specifically, Tcl, Tk, and Expect are augmented with a terminal emulator in order to build a screen representation in memory. This screen can be queried in a high‐level way and the interaction can be further controlled based on the screen representation.