A framework for monkey GUI testing

Authors Thomas Wetzlmaier
Rudolf Ramler
Werner Putschögl
Editors
Title A framework for monkey GUI testing
Booktitle Proceedings of the 9th IEEE International Conference on Software Testing, Verification and Validation (ICSTW 2016)
Type in proceedings
Publisher IEEE
ISBN 978-5090-1827-7/16
DOI 10.1109/ICST.2016.51
Month April
Year 2016
Pages 416-423
SCCH ID# 1609
Abstract

Testing via graphical user interfaces (GUI) is a complex and labor-intensive task. Numerous techniques, tools and frameworks have been proposed for automating GUI testing. In many projects, however, the introduction of automated tests did not reduce the overall effort of testing but shifted it from manual test execution to test script development and maintenance. As a pragmatic solution, random testing approaches (aka “monkey testing”) have been suggested for automated random exploration of the system under test via the GUI. This paper presents a versatile framework for monkey GUI testing. The framework provides reusable components and a predefined, generic workflow with extension points for developing custom-built test monkeys. It supports tailoring the monkey for a particular application scenario and the technical requirements imposed by the system under test. The paper describes the customization of test monkeys for an open source project and in an industry application, where the framework has been used for successfully transferring the idea of monkey testing into an industry solution.