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 条
  • [1] Automatic Android Application GUI Testing-A Random Walk Approach
    Lv, Haoyin
    2017 2ND IEEE INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, SIGNAL PROCESSING AND NETWORKING (WISPNET), 2017, : 72 - 76
  • [2] Using GUI Ripping for Automated Testing of Android Applications
    Amalfitano, Domenico
    Rita Fasolino, Anna
    Tramontana, Porfirio
    De Carmine, Salvatore
    Memon, Atif M.
    2012 PROCEEDINGS OF THE 27TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2012, : 258 - 261
  • [3] Automated Model-Based Android GUI Testing using Multi-level GUI Comparison Criteria
    Baek, Young-Min
    Bae, Doo-Hwan
    2016 31ST IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE), 2016, : 238 - 249
  • [4] Reinforcement Learning for Android GUI Testing
    Adamo, David
    Khan, Md Khorrom
    Koppula, Sreedevi
    Bryce, Renee
    PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18), 2018, : 2 - 8
  • [5] A Toolset for GUI Testing of Android Applications
    Amalfitano, Domenico
    Fasolino, Anna Rita
    Tramontana, Porfirio
    De Carmine, Salvatore
    Imparato, Gennaro
    2012 28TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE (ICSM), 2012, : 650 - 653
  • [6] Guided, Stochastic Model-Based GUI Testing of Android Apps
    Su, Ting
    Meng, Guozhu
    Chen, Yuting
    Wu, Ke
    Yang, Weiming
    Yao, Yao
    Pu, Geguang
    Liu, Yang
    Su, Zhendong
    ESEC/FSE 2017: PROCEEDINGS OF THE 2017 11TH JOINT MEETING ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2017, : 245 - 256
  • [7] CrawlDroid: Effective Model-based GUI Testing of Android Apps
    Cao, Yuzhong
    Wu, Guoquan
    Chen, Wei
    Wei, Jun
    INTERNETWARE'18: PROCEEDINGS OF THE TENTH ASIA-PACIFIC SYMPOSIUM ON INTERNETWARE, 2018,
  • [8] Practical GUI Testing of Android Applications via Model Abstraction and Refinement
    Gu, Tianxiao
    Sun, Chengnian
    Ma, Xiaoxing
    Cao, Chun
    Xu, Chang
    Yao, Yuan
    Zhang, Qirun
    Lu, Jian
    Su, Zhendong
    2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2019), 2019, : 269 - 280
  • [9] Adaptation Model for Testing Android Application
    Ahmed, Maryam
    Ibrahim, Rosziati
    Ibrahim, Noraini
    2015 SECOND INTERNATIONAL CONFERENCE ON COMPUTING TECHNOLOGY AND INFORMATION MANAGEMENT (ICCTIM), 2015, : 130 - 133
  • [10] FSMdroid: Guided GUI Testing of Android Apps
    Su, Ting
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C), 2016, : 689 - 691