>Hi All,
>
>I am look for a advanced macro recorder that records both keyboard and mouse actions. I want to develop a means to generate test cases and to integrate into the application (internally or externally) so the client can generate steps to reproduce errors. Does anyone know one exist application or know a way intercept these action so I build my own?
>
>I am try to avoid using the KeyPress and Mouse events. There are way to many existing forms under take such a task.
So what? Have your recorder bindevent() all such events to its own logging method. Recheck the number of objects periodically to catch any new objects that may have been created.
Or you can use event logging for these events only. I tried something like that once upon a time - 5 years ago, I think - and the thing that made me give up (apart from finding a job ;) was the menus. There was no way back then to reliably detect a menu selection, all he way down to the submenu's bar.