Evaluating the Effectiveness of Neuroevolution for Automated GUI-Based Software Testing

被引:0
作者
Zimmermann, Daniel [1 ]
Deubel, Patrick [1 ]
Koziolek, Anne [2 ]
机构
[1] FZI Res Ctr Informat Technol, Software Engn SE, Karlsruhe, Germany
[2] Karlsruhe Inst Technol, KASTEL Inst Informat Secur & Dependabil, Karlsruhe, Germany
来源
2023 38TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING WORKSHOPS, ASEW | 2023年
关键词
UI Testing; Test Automation; Deep Learning; Neuroevolution;
D O I
10.1109/ASEW60602.2023.00021
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
As software systems become increasingly complex, testing has become an essential component of the development process to ensure the quality of the final product. However, manual testing can be costly and time-consuming due to the need for human intervention. This constrains the number of test cases that can be run within a given timeframe and, as a result, limits the ability to detect defects in software in a timely manner. Automated testing, on the other hand, can reduce the cost and time associated with testing, but traditional approaches have limitations. These include the inability to thoroughly explore the entire state space of software or process the high-dimensional input space of graphical user interfaces (GUIs). In this study, we propose a new approach for automated GUI-based software testing utilizing neuroevolution (NE), a branch of machine learning that employs evolutionary algorithms to train artificial neural networks with multiple hidden layers of neurons. NE offers a scalable alternative to established deep reinforcement learning methods and provides higher robustness to parameter influences and improved handling of sparse rewards. The agents are trained to explore software and identify errors while being rewarded for high test coverage. We evaluate our approach using a realistic benchmark software application and compare it to monkey testing, a widely adopted automated software testing method.
引用
收藏
页码:119 / 126
页数:8
相关论文
共 17 条
[1]   Challenges in Automated Testing through Graphical User Interface [J].
Aho, Pekka ;
Vos, Tanja .
2018 IEEE 11TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW), 2018, :118-121
[2]  
Bauersfeld S., 2012, 4 S SEARCH BAS SOFTW, P7
[3]  
Bauersfeld Sebastian, 2014, SATTOSE, P60
[4]   Case studies in learning models and testing without reset [J].
Bremond, Nicolas ;
Groz, Roland .
2019 IEEE 12TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS (ICSTW 2019), 2019, :40-45
[5]  
Bubeck Sebastien, 2023, Sparks of artificial general intelligence: Early experiments with gpt-4
[6]  
Choudhary S. R., 2015, arXiv
[7]   Learning User Interface Element Interactions [J].
Degott, Christian ;
Borges, Nataniel P., Jr. ;
Zeller, Andreas .
PROCEEDINGS OF THE 28TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS (ISSTA '19), 2019, :296-306
[8]   Automating GUI Testing with Image-Based Deep Reinforcement Learning [J].
Eskonen, Juha ;
Kahles, Julen ;
Reijonen, Joel .
2020 IEEE INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING AND SELF-ORGANIZING SYSTEMS (ACSOS 2020), 2020, :160-167
[9]  
Goodfellow I, 2016, ADAPT COMPUT MACH LE, P1
[10]   Completely derandomized self-adaptation in evolution strategies [J].
Hansen, N ;
Ostermeier, A .
EVOLUTIONARY COMPUTATION, 2001, 9 (02) :159-195