Well, as I work on it, you may be interested in having a look in scriptaculous unittest. Nothing wonderful but it seems to work. They have begin a very interesting work on events simulation (for mouse and key actions).
Otherwise twill or selenium are great for web apps, but I don't think it's what you need. -- Thomas
