Publication
Title
Random test generation from regular expressions for graphical user interface (GUI) testing
Author
Abstract
Generation of test sequences, that is, (user) inputs - expected (system) outputs, is an important task of testing of graphical user interfaces (GUI). This work proposes an approach to randomly generate test sequences that might be used for comparison with existing GUI testing techniques to evaluate their efficiency. The proposed approach first models GUI under test by a finite state machine (FSM) and then converts it to a regular expression (RE). A tool based on a special technique we developed analyzes the RE to fulfill missing context information such as the position of a symbol in the RE. The result is a context table representing the RE. The proposed approach traverses the context table to generate the test sequences. To do this, the approach repeatedly selects a symbol in the table, starting from the initial symbol, in a random manner until reaching a special, finalizing symbol for constructing a test sequence. Thus, the approach uses a symbol coverage criterion to assess the adequacy of the test generation. To evaluate the approach, mutation testing is used. The proposed technique is to a great extent implemented and is available as a tool called PQ-Ran Test (PQ-analysis based Random Test Generation). A case study demonstrates the proposed approach and analyzes its effectiveness by mutation testing.
Language
English
Source (book)
2019 IEEE 19th International Conference on Software Quality, Reliability and Security Companion (QRS-C), 22-26 July, 2019, Sofia, Bulgaria
Publication
IEEE , 2019
ISBN
978-1-72813-925-8
DOI
10.1109/QRS-C.2019.00044
Volume/pages
(2019) , p. 170-176
ISI
000587590500030
Full text (Publisher's DOI)
Full text (open access)
Full text (publisher's version - intranet only)
UAntwerpen
Faculty/Department
Research group
Publication type
Subject
Affiliation
Publications with a UAntwerp address
External links
Web of Science
Record
Identifier
Creation 01.11.2020
Last edited 02.10.2024
To cite this reference