Automated UI Testing (OpenInsight Specific)
At 30 APR 1998 11:59:29AM DSig (SigSolutions) wrote:
I have a client who is very interested in Automatic testing of the UI in OI.
So .. if you use, have used or know of someone who uses an automatic testing routine for OI please let me know
dsig
David Tod Sigafoos ~ SigSolutions
dsig@teleport.com cis:70302,77 voice: 503-639-8080
At 06 MAY 1998 11:00PM Andy Fekete wrote:
David,
We don't have an automated testing routine per se, but our application allows our users to record custom "macros" by example, and to play them back on request. We exploit it sometimes for testing purposes.
We built our macro record/playback system by shelling RUN_EVENT. The user starts recording a macro by selecting a Start Recording menu item, which sets a global "recording" flag. During record, our RUN_EVENT copies selected events (especially button clicks and menu selections) into a dynamic array before passing the events to the real RUN_EVENT. When the user selects the Stop Recording menu item, the record flag is cleared, the user is allowed to assign a name to the macro, and the dynamic array is saved in table of macros.
Playback consists of allowing the user to select a macro to run, reading the appropriate macro record, and feeding the events in it to RUN_ENENT.
While we've added a few obvious features, like an always on top CANCEL MACRO button, macro editing, pause for input, etc., the basic engine is pretty simple.
Have you investigated any off the shelf GUI testing tools? There must be a bunch for Windows…
Andy Fekete
Organon Teknika