Random GUI Testing of Android Application Using Behavioral Model

被引:9
|
作者
Muangsiri, Woramet [1 ]
Takada, Shingo [1 ]
机构
[1] Keio Univ, Dept Informat & Comp Sci, Yokohama, Kanagawa, Japan
关键词
Testing tools; testing automation; GUI testing; android; behavioral model;
D O I
10.1142/S0218194017400149
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Automated GUI testing based on behavioral model is one of the most efficient testing approaches. By mining user usage, test scenarios can be generated based on statistical models such as Markov chain. However, these works require static analysis before starting the exploration which requires too much prerequisites and time. To address these challenges, we propose a behavioral-based GUI testing approach for mobile applications that achieves faster and higher coverage. The proposed approach does not conduct static analysis. It creates a behavioral model from usage logs by applying a statistical model. The events within the behavioral model are mapped to GUI components in a GUI tree. Finally, it updates the model dynamically to increase the probability of an event that rarely or never occurs when users use the application. The proposed approach was evaluated on four open-source Android applications, and compared with the state-of-the-art tools and manual testing. The main evaluation criteria are code coverage and ability to and errors. The proposed approach performed better than the current state-of-the-art automated testing tools in most aspects.
引用
收藏
页码:1603 / 1612
页数:10
相关论文
共 50 条
  • [21] CamDroid: Context-Aware Model-Based Automated GUI Testing for Android Apps
    Wang, Hongyi
    Li, Yang
    Yang, Jing
    Hu, Daqiang
    Liao, Zhi
    TSINGHUA SCIENCE AND TECHNOLOGY, 2025, 30 (01): : 55 - 67
  • [22] An Empirical Study on the Adoption of Scripted GUI Testing for Android Apps
    Gu, Ruizhen
    Rojas, Jose Miguel
    2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW, 2023, : 179 - 182
  • [23] Exploration Scheduling for Replay Events in GUI Testing on Android Apps
    Lin, Chia-Hui
    Yang, Cheng-Zen
    Lu, Peng
    Lin, Tzu-Heng
    You, Zhi-Jun
    2018 IEEE 42ND ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 1, 2018, : 90 - 99
  • [24] Automated GUI Testing of Android Apps: From Research to Practice
    Moran, Kevin
    Linares-Vasquez, Mario
    Poshyvanyk, Denys
    32ND IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME 2016), 2016, : 648 - 648
  • [25] Using Probabilistic Model Checking to Evaluate GUI Testing Techniques
    Bertolini, Cristiano
    Mota, Alexandre
    SEFM 2009: SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, 2009, : 115 - 124
  • [26] Using a Pilot Study to Derive a GUI Model for Automated Testing
    Xie, Qing
    Memon, Atif M.
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2008, 18 (02)
  • [27] A Combined Technique of GUI Ripping and Input Perturbation Testing for Android Apps
    Imparato, Gennaro
    2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Vol 2, 2015, : 760 - 762
  • [28] A Context-aware Approach for Dynamic GUI Testing of Android Applications
    Zhu, Haowen
    Ye, Xiaojun
    Zhang, Xiaojun
    Shen, Ke
    39TH ANNUAL IEEE COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC 2015), VOL 2, 2015, : 248 - 253
  • [29] Guided GUI Testing of Android Apps with Minimal Restart and Approximate Learning
    Choi, Wontae
    Necula, George
    Sen, Koushik
    ACM SIGPLAN NOTICES, 2013, 48 (10) : 623 - 639
  • [30] Automated Bidirectional Languages Localization Testing for Android Apps with Rich GUI
    Awwad, AimanM. Ayyal
    Slany, Wolfgang
    MOBILE INFORMATION SYSTEMS, 2016, 2016