View Full Version : Locating clicks without an event filter?

30th August 2012, 18:16
I'm getting into a bit of automated testing and am building a "watcher" for my program that will monitor user actions and then be able to replicate them. I.E. you could build a test case where you press button X, then press menu-option Y by actually doing the action and it saving these items in a special XML file or some such.

I want to avoid event filtering and mucking about in the actual program as much as possible, but we'll see what I can get away with. Basically I'm trying to figure out the best way to capture where mouse clicks happen so I can automate my UI.

I would appreciate if you don't suggest existing software that does this; I am developing this little tester regardless.