in reply to Simulating Keypresses

How about X11::GUITest?