Gerd is the GTK+ Event Recording Daemon. You can use it to record manual UI interaction and to launch the same chain of actions automatically. Gerd has been originally developed by Tim Janik, old (GTK+ 1.2 based) releases can be downloaded from his web site.
SvenHerzberg plans to extend Gerd to provide both a nice user-friendly way to start recording and a nice way to integrate gerd-based testing into projects.
Get Gerd from GNOME CVS.
cvs -d:pserver:email@example.com:/cvs/gnome co gerd
If you're building from CVS (which you should be doing), you need to generate the automake and autoconf files first:
./autogen.sh # add configure arguments here
Then just compile and install the application
make make install # run this one as root if necessary
After a successful installation you can execute applications like this to start recording (in this sample we start gedit):
gerd-record /tmp/event-file gedit
Now perform some actions, e.g. open the about box and the close the application using the menu bar. To see this being done automatically, just start this:
gerd-play /tmp/event-file gedit