02121  Ingeniørarbejde - Softwareteknologi - Brief note on GUI-testing
Technical University of Denmark DTU
02121 Ingeniørarbejde - Softwareteknologi        Januar 2010
Brief note on GUI-testing


By Paul Fischer

Testing a GUI depends on how the whole program is structured. If you use a Model-View-Control approach (and we hope you do) then the test of correctness of the system itself should be done on the model.

The GUI itself should not know much about the problem, e.g., if the user request an operation, the GUI should ask the model whether the move is possible or legal and not check this itself.

Thus testing the GUI comes down to testing the interactive functionality:

Each test-case (identified by a name or a number) should be documented by the following items:

The test result should state whether the expected post-state was observed or not.

A test may consist of a suite of test-cases where the post-state of one case implicitly becomes the pre-state for the next case.


Hans Henrik Løvengreen, Jan 7, 2010