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 条
[31]   How does GUI testing exercise application logic functionality? [J].
Alkhalid, Abdulaziz ;
Labiche, Yvan .
2017 IEEE 41ST ANNUAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), VOL 2, 2017, :90-95
[32]   Using ontology to generate test cases for GUI testing [J].
Li, Han ;
Guo, He ;
Chen, Feng ;
Yang, Hongji ;
Yang, Yuansheng .
INTERNATIONAL JOURNAL OF COMPUTER APPLICATIONS IN TECHNOLOGY, 2011, 42 (2-3) :213-224
[33]   Scripted GUI testing of Android open-source apps: evolution of test code and fragility causes [J].
Riccardo Coppola ;
Maurizio Morisio ;
Marco Torchiano ;
Luca Ardito .
Empirical Software Engineering, 2019, 24 :3205-3248
[34]   Scripted GUI testing of Android open-source apps: evolution of test code and fragility causes [J].
Coppola, Riccardo ;
Morisio, Maurizio ;
Torchiano, Marco ;
Ardito, Luca .
EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) :3205-3248
[35]   Automatic Pseudo-Random Regression Testing For GUI-Centric Embedded Software [J].
Daftedar, Mai ;
Shalan, Mohamed .
2012 SEVENTH INTERNATIONAL CONFERENCE ON COMPUTER ENGINEERING & SYSTEMS (ICCES'2012), 2012, :293-298
[36]   Behavioral classification of Android applications using system calls [J].
Razgallah, Asma ;
Khoury, Raphael .
2021 28TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2021), 2021, :43-52
[37]   Random Test Generation from Regular Expressions for Graphical User Interface (GUI) Testing [J].
Kilincceker, Onur ;
Silistre, Alper ;
Challenger, Moharram ;
Belli, Fevzi .
2019 COMPANION OF THE 19TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY (QRS-C 2019), 2019, :170-176
[38]   USING ANDROID TO IMPLEMENT INTELLIGENT TESTING SYSTEM [J].
Amirgaliyev, Y. N. ;
Kutlu, A. ;
Bogdanchikov, A. V. ;
Latuta, K. N. ;
Suliyev, R. N. .
BULLETIN OF THE NATIONAL ACADEMY OF SCIENCES OF THE REPUBLIC OF KAZAKHSTAN, 2013, (05) :55-58
[39]   Parking Lot Application Using Android [J].
Samadhi, T. M. A. Ari ;
Runtuwarow, Jayanti Putri Permata ;
Kewo, Angreine .
Proceeding of 2015 1st International Conference on Wireless and Telematics (ICWT), 2015,
[40]   GUI and Usage Model-Based Test Case Generation for Android Applications with Change Analysis [J].
San Miguel, Jose Lorenzo ;
Takada, Shingo .
MOBILE!'16: PROCEEDINGS OF THE 1ST INTERNATIONAL WORKSHOP ON MOBILE DEVELOPMENT, 2016, :43-44