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]   An analysis of widget layout attributes to support Android GUI-based testing [J].
Fulcini, Tommaso ;
Coppola, Riccardo ;
Torchiano, Marco ;
Ardito, Luca .
2023 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS, ICSTW, 2023, :117-125
[22]   Multi-device, Robust, and Integrated Android GUI Testing: A Conceptual Framework [J].
Coppola, Riccardo ;
Ardito, Luca ;
Torchiano, Marco .
TESTING SOFTWARE AND SYSTEMS, ICTSS 2023, 2023, 14131 :115-125
[23]   An Industrial Research on GUI Testing Techniques for Windows based Application using UFT [J].
Narkhede, Ravi ;
Korde, Sapana ;
Darda, Avinash ;
Sharma, Saurabh .
2015 INTERNATIONAL CONFERENCE ON SMART TECHNOLOGIES AND MANAGEMENT FOR COMPUTING, COMMUNICATION, CONTROLS, ENERGY AND MATERIALS (ICSTM), 2015, :466-471
[24]   GUI Testing Using Computer Vision [J].
Chang, Tsung-Hsiang ;
Yeh, Tom ;
Miller, Robert C. .
CHI2010: PROCEEDINGS OF THE 28TH ANNUAL CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, VOLS 1-4, 2010, :1535-+
[25]   Improving Random GUI Testing with Image-Based Widget Detection [J].
White, Thomas D. ;
Fraser, Gordon ;
Brown, Guy J. .
PROCEEDINGS OF THE 28TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA '19), 2019, :307-317
[26]   Testing variability-intensive systems using automated analysis: an application to Android [J].
Galindo, Jose A. ;
Turner, Hamilton ;
Benavides, David ;
White, Jules .
SOFTWARE QUALITY JOURNAL, 2016, 24 (02) :365-405
[27]   Testing variability-intensive systems using automated analysis: an application to Android [J].
José A. Galindo ;
Hamilton Turner ;
David Benavides ;
Jules White .
Software Quality Journal, 2016, 24 :365-405
[28]   A model-based approach for testing GUI using hierarchical predicate transition nets [J].
Reza, Hassan ;
Endapally, Sandeep ;
Grant, Emanuel .
INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY, PROCEEDINGS, 2007, :366-+
[29]   RoboLIFT: Simple GUI-Based Unit Testing of Student-Written Android Applications [J].
Allevato, Anthony ;
Edwards, Stephen H. .
SIGCSE 12: PROCEEDINGS OF THE 43RD ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2011, :670-670
[30]   Guided Bug Crush: Assist Manual GUI Testing of Android Apps via Hint Moves [J].
Liu, Zhe ;
Chen, Chunyang ;
Wang, Junjie ;
Huang, Yuekai ;
Hu, Jun ;
Wang, Qing .
PROCEEDINGS OF THE 2022 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS (CHI' 22), 2022,