Model-based testing of multiple GUI variants using the GUI test generator

Duc Hoai Nguyen, Paul A. Strooper, Jörn Guy Süß · 2010

Many modern application development frameworks separate presentation logic and business logic into layers. However, current model-based GUI testing tools do not model and test presentation logic and business logic separately. This paper proposes to separate business logic from the GUI behaviour model. The business logic is modelled using traditional modelbased testing tools like Spec Explorer while the presentation logic is recorded by a capture/replay tool. The two parts are connected via a mapping model. This paper proposes a new approach to test multiple GUI variants of an application in a reusable manner and introduces the GUI Test Generator (GTG). GTG is a tool which allows testers to define a mapping from business logic to presentation logic. Based on the mapping, GTG converts business logic test cases into presentation logic test cases. GTG is particularly useful for testing applications with a single business logic core and multiple variants of the user interface. This paper introduces the architecture of GTG and presents a case study for testing two different front-ends of an email client.

Read the paper · More papers on PaperTik