TY - JOUR
T1 - Automatic Construction of Graphical User Interfaces Semantic Models Using Robots for Mobile Application Testing
AU - XUE, Feng
AU - LIU, Qingying
AU - ZHANG, Tao
AU - LIU, Shaoying
AU - CHENG, Jing
AU - MA, Chunyan
N1 - Publisher Copyright:
© 2012-2024 ICI Bucharest. All rights reserved
PY - 2024/3
Y1 - 2024/3
N2 - With the growing adoption of rich GUIs (Graphical User Interfaces) in mobile applications, researchers and practitioners have focused on GUI-based testing of the applications. Constructing a GUI model for AUT (Application Under Test) is a conventional strategy; nevertheless, automated modelling is typically grounded in source code logic, often lacking representation of functional semantics. However, manually constructing a GUI model enriched with semantics is inefficient. In this work, a GUI semantic model is proposed, namely FSM-ES (Finite State Machine with Extended Semantics), which not only reflects the syntactical structure of the GUI, but also the semantics of its elements. Moreover, visual technology is used to capture GUI information and use semantic ontology to guide robots in order to complete gesture actions such as clicking and sliding on the GUI, achieving the establishment of FSM-ES. The case study demonstrates that, while ensuring coverage of the core functions of the AUT, GUI semantic model proposed in this paper is 52% faster than manual modelling. Moreover, it facilitates the generation of test cases focused on functional semantics.
AB - With the growing adoption of rich GUIs (Graphical User Interfaces) in mobile applications, researchers and practitioners have focused on GUI-based testing of the applications. Constructing a GUI model for AUT (Application Under Test) is a conventional strategy; nevertheless, automated modelling is typically grounded in source code logic, often lacking representation of functional semantics. However, manually constructing a GUI model enriched with semantics is inefficient. In this work, a GUI semantic model is proposed, namely FSM-ES (Finite State Machine with Extended Semantics), which not only reflects the syntactical structure of the GUI, but also the semantics of its elements. Moreover, visual technology is used to capture GUI information and use semantic ontology to guide robots in order to complete gesture actions such as clicking and sliding on the GUI, achieving the establishment of FSM-ES. The case study demonstrates that, while ensuring coverage of the core functions of the AUT, GUI semantic model proposed in this paper is 52% faster than manual modelling. Moreover, it facilitates the generation of test cases focused on functional semantics.
KW - Automated modelling
KW - GUI semantic model
KW - Robotic testing
UR - http://www.scopus.com/inward/record.url?scp=85190863427&partnerID=8YFLogxK
U2 - 10.24846/v33i1y202407
DO - 10.24846/v33i1y202407
M3 - 文章
AN - SCOPUS:85190863427
SN - 1220-1766
VL - 33
SP - 73
EP - 90
JO - Studies in Informatics and Control
JF - Studies in Informatics and Control
IS - 1
ER -