Quote:> I'd like to do some automated testing of a C++ application on a
> Solaris 8 box. There is only a GUI to drive the application, so the
> ability to record and replay keystrokes and mouse clicks is essential.
> My net searching isn't really finding anything for Solaris, except
> some tool for $100K!
> Does any such beast exist?
I recently had a look at what's available, and wasn't too impressed by
what I saw. There are tools that will record raw X events and then
replay them. The problem is that if something chnages (e.g., different X
server with different system font) then all of those raw coordinates are
likely to be off.
The second class of tools either link directly with your application, or
if your app uses a dynamic library for its GUI, then they sit between
the app and the dynamic library. These tools record function calls to
the GUI library. The advantage of that is that they are no longer prone
to variations in geometry. The disadvantage is that if you make any
significant changes to your code then they may be incapable of calling
the correct functions when you rerun the recorded script.
I haven't seen anything that combines robustness in both senses
(geometry and code changes), though I think that the 2nd approach looks
the most promising.
A bientot
Paul
--
Paul Floyd http://paulf.free.fr (for what it's worth)
Surgery: ennobled Gerald.