Automated Web Application Testing: End-to-End Test Case Generation with Large Language Models and Screen Transition Graphs

📅 2025-06-03
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Web applications exhibit high interface dynamism and complex navigation and form interactions, posing significant challenges for end-to-end test case generation—particularly low coverage and poor robustness. To address this, we propose a navigation modeling approach that integrates screen transition graphs with large language models (LLMs) to enable high-precision path exploration. We further design a state-graph-based automated testing framework for conditional forms, supporting dynamic DOM parsing and interaction modeling. Additionally, we construct the first dedicated benchmark dataset for form-interaction testing. Experimental evaluation across diverse, complex web applications demonstrates substantial improvements in test coverage and path discovery accuracy—especially for branching navigation and conditional form-filling tasks. Our approach establishes a scalable, empirically evaluable paradigm for web application reliability testing.

Technology Category

Application Category

📝 Abstract
Web applications are critical to modern software ecosystems, yet ensuring their reliability remains challenging due to the complexity and dynamic nature of web interfaces. Recent advances in large language models (LLMs) have shown promise in automating complex tasks, but limitations persist in handling dynamic navigation flows and complex form interactions. This paper presents an automated system for generating test cases for two key aspects of web application testing: site navigation and form filling. For site navigation, the system employs screen transition graphs and LLMs to model navigation flows and generate test scenarios. For form filling, it uses state graphs to handle conditional forms and automates Selenium script generation. Key contributions include: (1) a novel integration of graph structures and LLMs for site navigation testing, (2) a state graph-based approach for automating form-filling test cases, and (3) a comprehensive dataset for evaluating form-interaction testing. Experimental results demonstrate the system's effectiveness in improving test coverage and robustness, advancing the state of web application testing.
Problem

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

Automating test case generation for web application navigation using LLMs and screen transition graphs
Handling dynamic form interactions in web testing via state graphs and Selenium automation
Improving test coverage and robustness in web application reliability assessment
Innovation

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

LLMs and screen transition graphs for navigation
State graphs automate form-filling test cases
Generates Selenium scripts for dynamic interactions
🔎 Similar Papers
No similar papers found.
Nguyen-Khang Le
Nguyen-Khang Le
Japan Advanced Institute of Science and Technology
Deep Learning
Q
Quan Bui
Amifiable Inc.
M
Minh Ngoc Nguyen
Japan Advanced Institute of Science and Technology
H
Hiep Nguyen
Japan Advanced Institute of Science and Technology
T
Trung Vo
Japan Advanced Institute of Science and Technology
Son T. Luu
Son T. Luu
University of Information Technology, VNU-HCM
Natural language processingData ScienceKnowledge RepresentationArtificial Intelligence
S
Shoshin Nomura
Amifiable Inc.
M
Minh Le Nguyen
Japan Advanced Institute of Science and Technology