Abstract

This paper presents a new approach to automatically generate GUI test cases and validation points from a set of annotated use cases. This technique helps to reduce the effort required in GUI modeling and test coverage analysis during the software testing process. The test case generation process described in this paper is initially guided by use cases describing the GUI behavior, recorded as a set of interactions with the GUI elements (e.g., widgets being clicked, data input, etc.). These use cases (modeled as a set of initial test cases) are annotated by the tester to indicate interesting variations in widget values (ranges, valid or invalid values) and validation rules with expected results. Once the use cases are annotated, this approach uses the new defined values and validation rules to automatically generate new test cases and validation points, easily expanding the test coverage. Also, the process allows narrowing the GUI model testing to precisely identify the set of GUI elements, interactions, and values the tester is interested in.

Highlights

  • It is well known that testing the correctness of a Graphical User Interfaces (GUI) is difficult for several reasons [1]

  • This new approach describes a GUI test case autogeneration process based on a set of use cases and the annotation of the relevant GUI elements

  • The test case generation process described in this paper takes as its starting point the set of use cases that describe the GUI behavior

Read more

Summary

Introduction

It is well known that testing the correctness of a Graphical User Interfaces (GUI) is difficult for several reasons [1] One of those reasons is that the space of possible interactions with a GUI is enormous, which leads to a large number of GUI states that have to be properly tested (a related problem is to determine the coverage of a set of test cases); the large number of possible GUI states results in a large number of input permutations that have to be considered. This paper is an extended version of the submitted contribution to the “Informatik 2009: Workshop MoTes09” [2]

Related Work
Overview of the Annotated Use Case Guided Approach
Annotation Process
Test Case AutoGeneration Process
Execution and Validation Process
Example
Conclusions and Future Work
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call