Finite State GUI Testing with Test Case Prioritization Using Z-BES and GK-GRU
Source abstract
Abstract
To deliver user-friendly experiences, modern software applications rely heavily on graphical user interfaces (GUIs). However, it is paramount to ensure the quality of these GUIs through effective testing. This paper proposes a novel “Finite state testing for GUI with test case prioritization using ZScore-Bald Eagle Search (Z-BES) and Gini Kernel-Gated recurrent unit (GK-GRU)” approach to enhance GUI testing accuracy and efficiency. First, historical project data is collected. Subsequently, by utilizing the Z-BES algorithm, test cases are prioritized, aiding in improving GUI testing. Attributes are then extracted from prioritized test cases, which contain crucial details. Additionally, a state transition diagram (STD) is generated to visualize system behavior. The state activity score (SAS) is then computed to quantify state importance using reinforcement learning (RL). Next, GUI components are identified, and their text values are extracted. Similarity scores between GUI text values and test case attributes are computed. Grounded on similarity scores and SAS, a fuzzy algorithm labels the test cases. Data representation is enhanced by word embedding using GS-BERT. Finally, the test case outcomes are predicted by the GK-GRU, validating the GUI performance. The proposed work attains 98% accuracy, precision, recall, f-measure, and sensitivity, and low FPR and FNR error rates of 14.2 and 7.5, demonstrating the reliability of the model. The proposed Z-BES requires only 5587 ms to prioritize the test cases, retaining less time complexity. Meanwhile, the GK-GRU technique requires 38945 ms to train the neurons, thus enhancing the computational efficiency of the system. In conclusion, experimental outcomes demonstrate that, compared with the prevailing approaches, the proposed technique attains superior performance.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Software Testing and Debugging Techniques · Software System Performance and Reliability · Software Engineering Research
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Department of Computer Science and Engineering, Veer Madho Singh Bhandari Uttarakhand Technical University, Dehradun 248007, India
Department of Electrical Engineering and Computer Science, University of Cincinnati, Cincinnati, OH 45221, USA
Department of Computer Science and Engineering, Dev Bhoomi Institute of Technology, Dehradun 248007, India
References (22)
Show source-provided references
1. Model-Based Ideal Testing of GUI Programs-Approach and Case Studies10.1109/ACCESS.2021.3077518 ↗
2. Eskonen, J., Kahles, J., and Reijonen, J. (2020, January 17–21). Automating GUI testing with image-based deep reinforcement learning. Proceedings of the 2020 IEEE International Conference on Autonomic Computing and Self-Organizing Systems, ACSOS 2020, Online.10.1109/ACSOS49614.2020.00038 ↗
3. GUI information-based interaction logging and visualization for asynchronous usability testing10.1016/j.eswa.2020.113289 ↗
4. Scripted and scriptless GUI testing for web applications: An industrial case10.1016/j.infsof.2023.107172 ↗
5. AniLength: GUI-based automatic worm length measurement software using image processing and deep neural network10.1016/j.softx.2021.100795 ↗
6. Methods for Automatic Web Page Layout Testing and Analysis: A Review10.1109/ACCESS.2023.3242549 ↗
7. Efficient testing of GUI applications by event sequence reduction10.1016/j.scico.2020.102522 ↗
8. Xie, M., Feng, S., Xing, Z., Chen, J., and Chen, C. (2020, January 8–13). UIED: A hybrid tool for GUI element detection. Proceedings of the 28th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, Virtual.10.1145/3368089.3417940 ↗
9. Broer Bahaweres, R., Oktaviani, E., Kesuma Wardhani, L., Hermadi, I., Suroso, A.I., PermanaSolihin, I., and Arkeman, Y. (2020, January 11–19). Behavior-driven development (BDD) Cucumber Katalon for Automation GUI testing case CURA and Swag Labs. Proceedings of the 2nd International Conference on Informatics, Multimedia, Cyber, and Information System, ICIMCIS 2020, Jakarta, Indonesia.10.1109/ICIMCIS51567.2020.9354325 ↗
10. Samad, A., Nafis, T., Rahmani, S., and Sohail, S.S. (2021). A Cognitive Approach in Software Automation Testing. SSRN Electron. J., 1–6.10.2139/ssrn.3834262 ↗
11. An Automated Testing Tool Based on Graphical User Interface with Exploratory Behavioural Analysis
12. GUI Widget Detection and Intent Generation via Image Understanding10.1109/ACCESS.2021.3131753 ↗
13. Testar—Scriptless Testing Through Graphical User Interface10.1002/stvr.1771 ↗
14. Ionescu, T.B., Frohlich, J., and Lachenmayr, M. (2020, January 8–11). Improving Safeguards and Functionality in Industrial Collaborative Robot HMIs through GUI Automation. Proceedings of the IEEE International Conference on Emerging Technologies and Factory Automation, ETFA 2020, Vienna, Austria.10.1109/ETFA46521.2020.9211886 ↗
15. Automatic Test and Evaluation of Autonomous Systems10.1109/ACCESS.2022.3183145 ↗
16. Automated Test Selection for Android Apps Based on APK and Activity Classification10.1109/ACCESS.2020.3029735 ↗
17. YOLOv5-MGC: GUI Element Identification for Mobile Applications Based on Improved YOLOv5
18. RLTCP: A reinforcement learning approach to prioritizing automated user interface tests10.1016/j.infsof.2021.106574 ↗
19. Distributed state model inference for scriptless GUI testing10.1016/j.jss.2023.111645 ↗
20. Deep Learning-Based Mobile Application Isomorphic GUI Identification for Automated Robotic Testing10.1109/MS.2020.2987044 ↗
21. Towards the integration of visual and formal models for GUI testing10.1016/j.entcs.2007.08.010 ↗
22. Generating combinatorial test cases using Simplified Swarm Optimization (SSO) algorithm for automated GUI functional testing