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 条
[41]   PsySuite: An android application designed to perform multimodal psychophysical testing [J].
Inuggi, Alberto ;
Domenici, Nicola ;
Tonelli, Alessia ;
Gori, Monica .
BEHAVIOR RESEARCH METHODS, 2024, 56 (08) :8308-8329
[42]   Usability Testing For Android Based Application "Jogja Smart Tourism" [J].
Harwati ;
Widodo, Imam Djati .
5TH INTERNATIONAL CONFERENCE ON MANUFACTURING, OPTIMIZATION, INDUSTRIAL AND MATERIAL ENGINEERING, 2017, 215
[43]   Registry Based Discovery Model for Android Application [J].
Martin, John Paul ;
Divakar, Sarith M. ;
Joseph, Hareesh M. .
2013 THIRD INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTING AND COMMUNICATIONS (ICACC 2013), 2013, :115-117
[44]   Iterative execution-feedback model-directed GUI testing [J].
Yuan, Xun ;
Memon, Atif M. .
INFORMATION AND SOFTWARE TECHNOLOGY, 2010, 52 (05) :559-575
[45]   FULLY AUTOMATED GUI TESTING AND COVERAGE ANALYSIS USING GENETIC ALGORITHMS [J].
Rauf, Abdul ;
Jaffar, Arfan ;
Shahid, Arshad Ali .
INTERNATIONAL JOURNAL OF INNOVATIVE COMPUTING INFORMATION AND CONTROL, 2011, 7 (06) :3281-3294
[46]   Why does the orientation change mess up my Android application? From GUI failures to code faults [J].
Amalfitano, Domenico ;
Riccio, Vincenzo ;
Paiva, Ana C. R. ;
Fasolino, Anna Rita .
SOFTWARE TESTING VERIFICATION & RELIABILITY, 2018, 28 (01)
[47]   Trusted Application Using Biometrics for Android Environment [J].
Anbalagan, Nandhini ;
Helmi, Rabab Alayham Abbas ;
Ashour, Marwan Abdul Hameed ;
Jamal, Arshad .
2020 16TH IEEE INTERNATIONAL COLLOQUIUM ON SIGNAL PROCESSING & ITS APPLICATIONS (CSPA 2020), 2020, :7-12
[48]   Inventory of a library collection using Android application [J].
Krsticev, Danijela Boberic ;
Tesendic, Danijela ;
Verma, Binay Kumar .
ELECTRONIC LIBRARY, 2016, 34 (05) :856-868
[49]   Lessons Learned from Making the Transition to Model-Based GUI Testing [J].
Ramler, Rudolf ;
Klammer, Claus ;
Wetzlmaier, Thomas .
PROCEEDINGS OF THE 10TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '19), 2019, :22-27
[50]   Model-Based Testing of GUI Applications Featuring Dynamic Instanciation of Widgets [J].
Canny, Alexandre ;
Palanque, Philippe ;
Navarre, David .
2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2020, :95-104