User Interface Test-Driven Development

While test-driven development has many benefits, it's difficult to apply to modern GUI-based applications. The ASE lab has been working on combining two of its tools in an effort to make test-driven development of user interfaces a simpler process: ActiveStory Enhanced and LEET.

In this approach, a low-fidelity prototype of the application's GUI is created using ActiveStory Enhanced. This prototype is then decorated with "hot zones," or clickable areas, in order to allow the prototype to automatically switch to different states based on user interactions during usability evaluations. LEET can be used to record a replayable script of these interactions in order to perform automated testing. As long as the hot zones have the same names as the actual widgets will have when the GUI is implemented, these scripts can be recorded from interactions with the prototype and then replayed on the actual GUI. In this way, it's possible to record GUI tests simply without having an existing GUI.

For more information visit the Surfnet Webpage.

Publications