Think of it as Expect for Windows. Looks promising (for example, for WebAcceptanceTests) http://users.swing.be/wintclsend/