Does anyone know of a library that enables you to run an application inside some kind of sandbox, with virtual mouse and keyboard support.
The use case would be to create some kind of visual test runner, that would replay all actions taken during recording and play them back.
So far I found autopy, but the fact that it controls the real mouse position is problematic, because it prevents user interaction with other tools (debugger or anything) while running.
Cross platform would be nice, but either windows or os x is fine. Python would be ideal but anything that you could create python bindings for would be ok too.