JOURNAL ARTICLE

Towards behavior-driven graphical user interface testing

Hendrik BünderHerbert Kuchen

Year: 2019 Journal:   ACM SIGAPP Applied Computing Review Vol: 19 (2)Pages: 5-17   Publisher: Association for Computing Machinery

Abstract

The majority of users interacts with an application through its graphical user interface (GUI). To ensure high quality and expected behavior, those graphical user interfaces have to be tested thoroughly. Yet, creating graphical user interface test cases is considered expensive in comparison to unit or integration tests. In addition, test cases are perceived to be expensive to run and brittle, therefore causing a lot of false negative test results. Behavior-driven test case design addresses this challenges by bringing requirement specifications and test cases closer together. Although industry-proven tools map test specifications automatically, test methods making test scripts executable need to be implemented manually. The specification language Slang introduced by this paper generates automatically executable test cases from BDD-like feature descriptions that integrate low-fidelity prototypes in form of wireframesketcher models. To quantify the economic advantage of our approach an AB/BA crossover designed experiment was conducted. The experiment showed that creating automatically executable test cases utilizing Slang takes 63% less time compared to the industry-proven tool JBehave. In addition to presenting the experiment's results, the paper elaborates on first experience from applying the approach in a large Swiss bank. The findings of our experiments are supported by results from applying our approach in real-world scenarios. In addition, experiment as well as case study participants appreciated the sophisticated editor support of Slang.

Keywords:
Executable Computer science Graphical user interface testing Graphical user interface Test script Test (biology) Test suite Test case Interface (matter) User interface Software engineering Human–computer interaction Programming language User interface design Machine learning Operating system

Metrics

6
Cited By
0.35
FWCI (Field Weighted Citation Impact)
25
Refs
0.62
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Software Testing and Debugging Techniques
Physical Sciences →  Computer Science →  Software
Software Engineering Research
Physical Sciences →  Computer Science →  Information Systems
Advanced Software Engineering Methodologies
Physical Sciences →  Computer Science →  Artificial Intelligence

Related Documents

BOOK-CHAPTER

Automated Graphical User Interface Regression Testing

Madhumita PandaDurga Prasad Mohapatra

Advances in intelligent systems and computing Year: 2013 Pages: 325-341
JOURNAL ARTICLE

Action-driven automation test framework for Graphical User Interface (GUI) software testing

Feng LiSheng Zhuang

Journal:   Conference record (1995) - Autotestcon/Conference record - Autotestcon Year: 2007 Pages: 22-27
© 2026 ScienceGate Book Chapters — All rights reserved.