Gabor Szabo wrote:
I am trying to add unit tests that will run the application opening its windows
and then send all kinds of events.
Reading the testing code in Wx I got to the point where the application runs
and I can set a timer to do something later but I could not yet figure out how
can I send an arbitrary keystroke ?
e.g. How can generate a Ctr-g or Alt-F4 event?
Gabor
Wouldn't it be more logical to run tests from outside the application?
Simulating a real user?
In that case you might want to look at modules like Win32::GuiTest which
was designed for this purpose.
I'm pretty sure you can find something similar for other platforms...
Just my 2 cts...
Cheers,
Huub