Black-Box Test Data Generation for GUI Testing
- 1 October 2014
- conference paper
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE) in 2014 14th International Conference on Quality Software
- p. 133-138
- https://doi.org/10.1109/qsic.2014.42
Abstract
Effective system testing of applications with a Graphical User Interface (GUI) front-end demands careful generation of event sequences as well as providing relevant test data for parameterized widgets, i.e., widgets that accept input values such as textboxes and textareas. Current GUI testing techniques either manipulate the source code of the application under test (AUT) to generate the test data, or blindly use a set of random string values. In this paper, we propose a third novel way to generate relevant test data for GUI testing. We exploit the information provided in the GUI structure to extract a set of key identifiers for each parameterized widget. These identifiers are used to compose appropriate search phrases and collect relevant test data from the Internet. The results of an empirical study on five GUI-based applications show that the proposed approach is applicable and can get some hard-to-cover branches in the subject programs to execute. The proposed technique works from the black-box perspective and is entirely independent from GUI modeling and event sequence generation, thus it does not need access to the source code of AUT and provides an opportunity to be integrated with the existing GUI testing frameworks.Keywords
This publication has 22 references indexed in Scilit:
- JST: An automatic test generation tool for industrial Java applications with stringsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2013
- Evolving Readable String Test Inputs Using a Natural Language Model to Reduce Human Oracle CostPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2013
- Search-Based Test Input Generation for String Data Types Using the Results of Web QueriesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2012
- Generating Event Sequence-Based Test Cases Using GUI Runtime State FeedbackIEEE Transactions on Software Engineering, 2009
- Designing and comparing automated test oracles for GUI-based software applicationsACM Transactions on Software Engineering and Methodology, 2007
- Studying the fault-detection effectiveness of GUI test cases for rapidly evolving softwareIEEE Transactions on Software Engineering, 2005
- Finite state testing and analysis of graphical user interfacesPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2005
- GUI ripping: reverse engineering of graphical user interfaces for testingPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2004
- Search‐based software test data generation: a surveySoftware Testing, Verification and Reliability, 2004
- Hierarchical GUI test case generation using automated planningIEEE Transactions on Software Engineering, 2001