Automatic Construction of Graphical User Interfaces Semantic Models Using Robots for Mobile Application Testing

被引:0
作者
Xue, Feng [1 ,2 ]
Liu, Qingying [2 ]
Zhang, Tao [2 ]
Liu, Shaoying [3 ]
Cheng, Jing [4 ]
Ma, Chunyan [2 ]
机构
[1] Xi An Univ Finance & Econ, Sch Informat, 360 Changning St, Xian 710100, Peoples R China
[2] Northwestern Polytech Univ, Sch Software, 1 Dongxiang Rd, Xian 710129, Peoples R China
[3] Hiroshima Univ, Grad Sch Adv Sci & Engn, 1 Chome-3-2 Kagamiyama, Higashihiroshima, Hiroshima 7398527, Japan
[4] Xi An Technol Univ, Sch Comp Sci & Engn, 2 Xuefuzhong Rd, Xian 710021, Peoples R China
来源
STUDIES IN INFORMATICS AND CONTROL | 2024年 / 33卷 / 01期
关键词
Keyword: Robotic testing; GUI semantic model; Automated modelling;
D O I
10.24846/v33i1y202407
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:73 / 90
页数:19
相关论文
共 34 条
  • [1] Abulhaija S., 2022, Journal of System and Management Sciences, V12, P300, DOI [10.33168/JSMS.2022.0619, DOI 10.33168/JSMS.2022.0619]
  • [2] Reverse Engineering Models of Software Interfaces *
    Bera, Debjyoti
    Schuts, Mathijs
    Hooman, Jozef
    Kurtev, Ivan
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2021, 18 (03) : 657 - 686
  • [3] Rico: A Mobile App Dataset for Building Data-Driven Design Applications
    Deka, Biplab
    Huang, Zifeng
    Franzen, Chad
    Hibschman, Joshua
    Afergan, Daniel
    Li, Yang
    Nichols, Jeffrey
    Kumar, Ranjitha
    [J]. UIST'17: PROCEEDINGS OF THE 30TH ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, 2017, : 845 - 854
  • [4] Gelfert A, 2017, SPRINGER HBK, P5
  • [5] DeRL: Coupling Decomposition in Action Space for Reinforcement Learning Task
    He, Ziming
    Li, Jingchen
    Wu, Fan
    Shi, Haobin
    Hwang, Kao-Shing
    [J]. IEEE TRANSACTIONS ON EMERGING TOPICS IN COMPUTATIONAL INTELLIGENCE, 2024, 8 (01): : 1030 - 1043
  • [6] Apply ant colony to event-flow model for graphical user interface test case generation
    Huang, Y.
    Lu, L.
    [J]. IET SOFTWARE, 2012, 6 (01) : 50 - 60
  • [7] A Combined Technique of GUI Ripping and Input Perturbation Testing for Android Apps
    Imparato, Gennaro
    [J]. 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Vol 2, 2015, : 760 - 762
  • [8] Jocher G, 2020, YOLOv5, Code repository
  • [9] Automated Testing of Android Apps: A Systematic Literature Review
    Kong, Pingfan
    Li, Li
    Gao, Jun
    Liu, Kui
    Bissyande, Tegawende F.
    Klein, Jacques
    [J]. IEEE TRANSACTIONS ON RELIABILITY, 2019, 68 (01) : 45 - 66
  • [10] Automatic GUI Model Generation: State of the Art
    Kull, Andres
    [J]. 23RD IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSRE 2012), 2012, : 207 - 212