Understanding Automated Web GUI Testing: An Empirical Study Across Exploration Strategies and State Abstractions

📅 2026-06-15
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
It remains unclear how exploration strategies and state abstraction jointly influence the effectiveness of automated Web GUI testing. This study presents the first systematic evaluation of the combined impact of three prominent exploration strategies—model-based, reinforcement learning, and large language model–driven approaches—with various state abstraction mechanisms on code coverage and bug detection. The experiments encompass six state abstractions and multiple history representations, revealing that no single strategy universally dominates: fine-grained abstractions better suit model-based methods, compact representations benefit reinforcement learning, and functional-level context most effectively enhances large language model performance. Furthermore, the work demonstrates only a weak correlation between code coverage and bug discovery, underscoring the necessity of evaluating both metrics complementarily.
📝 Abstract
Automated web GUI testing (AWGT) relies on exploration strategies that exercise web applications through GUI actions to maximize code coverage, spanning traditional model-based, reinforcement learning (RL)-based, and emerging large language model (LLM)-based approaches. State abstraction, which detects pages with the same functionality to avoid repeated testing, has long been recognized as critical to guiding exploration. However, how exploration strategies and state abstractions jointly affect testing effectiveness remains underexplored. We present an empirical study analyzing both factors from the perspectives of code coverage and failure revelation. We compare representative model-based, RL-based, and LLM-based approaches; investigate how six state abstractions influence model-based and RL-based approaches; examine LLM-based approaches under different history representations, which act as a form of state abstraction; and compare the failures exposed by different approaches. Our results show that no single strategy excels across all dimensions; instead, categories exhibit complementary strengths in code coverage, state coverage, and failure discovery. State abstraction is a key factor: strict, fine-grained abstractions favor model-based strategies, while compact ones better support RL-based strategies. History representation substantially affects LLM-based strategies, where concise, functionality-level context performs best. We also find that code coverage is weakly correlated with failure-revealing ability, underscoring the need for multi-dimensional evaluation. These findings offer practical guidance for selecting exploration strategies and designing effective state abstractions for AWGT.
Problem

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

Automated Web GUI Testing
Exploration Strategies
State Abstraction
Code Coverage
Failure Revelation
Innovation

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

automated web GUI testing
exploration strategies
state abstraction
large language models
empirical study
🔎 Similar Papers