TkTest allows you to generate a GUI test by recording
windows events while you use your application and taking
The recorded events can be replayed, and the saved snapshots compared to the test application state at runtime.
This is a beta 0.95 release. It's been known to work, but is not guaranteed to work under all circumstances. If you find a problem (or better, a solution to a problem), I'll be happy to hear about it.