HxAgent: Iterative Agent Planning for End-to-End Web Application Testing

πŸ“… 2026-08-15
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
This study addresses the challenges of autonomous agent execution and test case generation in natural language-driven web automation testing by proposing an iterative planning agent based on large language models. The proposed method innovatively integrates an active error correction strategy with a multi-source memory mechanism, effectively synthesizing short-term action feedback and long-term experiential knowledge to enable end-to-end autonomous testing. Experimental results demonstrate that the agent achieves an accuracy of 97.4% on the MiniWoB++ benchmark and 83.8% across a 350-task suite. These outcomes significantly outperform existing baselines such as WALT, validating the approach’s effectiveness in complex web interaction scenarios.
πŸ“ Abstract
In automated web testing, generating test cases and performing testing using functionality descriptions in natural-language is crucial for improving efficacy. These tasks require such a testing agent to carry out tasks on the target application and generating tests autonomously. We introduce HxAgent, an iterative LLM-based planning agent with a proactive correction strategy. After each step, HxAgent reassesses the web state to determine the next action using (1) current observations, (2) short-term memory of past actions, and (3) long-term experience extracted from past (in)correct sequences of actions. HxAgent achieves 97.4% Exact-Match accuracy on MiniWoB++, comparable to the best baselines without human demonstrations and surpassing the recent WALT by 10.5%. On a dataset of 350 web tasks, it attains 83.8% Exact-Match and 91.8% Prefix-Match, exceeding WALT by 13.4%. On OnlineMind2Web, it further improves over WALT by 4.6%.
Problem

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

Automated Web Testing
Test Case Generation
Autonomous Agent
Natural Language Understanding
Innovation

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

Iterative Agent Planning
Proactive Correction Strategy
Long-term Experience
Web Application Testing
LLM-based Agent
πŸ”Ž Similar Papers
No similar papers found.
πŸ’Ό Related Jobs
No related jobs found.
T
Tu Nguyen
University of Science, Ho Chi Minh city, Vietnam; Vietnam National University, Ho Chi Minh city, Vietnam
D
Duy Cao
University of Science, Ho Chi Minh city, Vietnam; Vietnam National University, Ho Chi Minh city, Vietnam
Viet Nguyen
Viet Nguyen
Staff Research Engineer at Samsung Research America
LocalizationMobile ComputingWireless SystemHuman Computer InteractionUWB
P
Phu Nguyen
University of Science, Ho Chi Minh city, Vietnam; Vietnam National University, Ho Chi Minh city, Vietnam
V
Vy Le
Vietnam National University, Ho Chi Minh city, Vietnam; University of Information Technology, Ho Chi Minh city, Vietnam
N
Nguyen TK Nguyen
University of Science, Ho Chi Minh city, Vietnam; Vietnam National University, Ho Chi Minh city, Vietnam
Tien N. Nguyen
Tien N. Nguyen
Professor, School of Engineering and Computer Science - The University of Texas at Dallas
AI4SEAutomated Software EngineeringArtificial IntelligenceMining Software Repositories
Vu Nguyen
Vu Nguyen
Stony Brook University
Computer VisionMachine Learning