Deep Reinforcement Learning for Automated Web GUI Testing

📅 2025-04-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address low exploration efficiency and insufficient coverage in GUI testing of web applications—caused by state-space explosion and complex interaction logic—this paper proposes WebRLED, an automated testing framework based on deep reinforcement learning. Its key contributions are: (1) a novel grid-based action-value learning mechanism that models the action space with explicit awareness of DOM tree structure; (2) an online-updatable action discriminator that dynamically refines feasibility predictions for candidate actions; and (3) a dual-scale curiosity-driven reward model integrating local novelty estimation with global execution history to mitigate sparse-reward challenges. Evaluated on 62 real-world web applications—including 12 open-source projects—WebRLED significantly outperforms state-of-the-art methods, achieving substantial improvements in code coverage, state coverage, and defect detection rate. It identified 695 unique failure cases, demonstrating superior effectiveness and robustness.

Technology Category

Application Category

📝 Abstract
Automated GUI testing of web applications has always been considered a challenging task considering their large state space and complex interaction logic. Deep Reinforcement Learning (DRL) is a recent extension of Reinforcement Learning (RL), which takes advantage of the powerful learning capabilities of neural networks, making it suitable for complex exploration space. In this paper, leveraging the capability of deep reinforcement learning, we propose WebRLED, an effective approach for automated GUI testing of complex web applications. WebRLED has the following characteristics: (1) a grid-based action value learning technique, which can improve the efficiency of state space exploration; (2) a novel action discriminator which can be trained during the exploration to identify more actions; (3) an adaptive, curiosity-driven reward model, which considers the novelty of an explored state within an episode and global history, and can guide exploration continuously. We conduct a comprehensive evaluation of WebRLED on 12 open-source web applications and a field study of the top 50 most popular web applications in the world. The experimental results show that WebRLED achieves higher code/state coverage and failure detection rate compared to existing state-of-the-art (SOTA) techniques. Furthermore, WebRLED finds 695 unique failures in 50 real-world applications.
Problem

Research questions and friction points this paper is trying to address.

Automated GUI testing for complex web applications
Efficient state space exploration in web testing
Improving code coverage and failure detection rates
Innovation

Methods, ideas, or system contributions that make the work stand out.

Grid-based action value learning for exploration efficiency
Novel action discriminator to identify more actions
Adaptive curiosity-driven reward model for guided exploration
🔎 Similar Papers
No similar papers found.
Z
Zhiyu Gu
Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences
C
Chenxu Liu
Key Lab of HCST (PKU), MOE; SCS; Peking University
Guoquan Wu
Guoquan Wu
Institute of Software, Chinese Academy of Sciences
software engineeringservice oriented computingweb based software
Y
Yifei Zhang
Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences
C
ChenXi Yang
Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences
Z
Zheheng Liang
Joint Laboratory on Cyberspace Security, China Southern Power Grid Guangdong Power Grid
W
Wei Chen
Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences
J
Jun Wei
Institute of Software Chinese Academy of Sciences, University of Chinese Academy of Sciences