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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Le, Nguyen-Khang, Bui, Quan Minh, Nguyen, Minh Ngoc, Nguyen, Hiep, Vo, Trung, Luu, Son T., Nomura, Shoshin, Nguyen, Minh Le
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866912912334913536
author Le, Nguyen-Khang
Bui, Quan Minh
Nguyen, Minh Ngoc
Nguyen, Hiep
Vo, Trung
Luu, Son T.
Nomura, Shoshin
Nguyen, Minh Le
author_facet Le, Nguyen-Khang
Bui, Quan Minh
Nguyen, Minh Ngoc
Nguyen, Hiep
Vo, Trung
Luu, Son T.
Nomura, Shoshin
Nguyen, Minh Le
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_02529
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Automated Web Application Testing: End-to-End Test Case Generation with Large Language Models and Screen Transition Graphs
Le, Nguyen-Khang
Bui, Quan Minh
Nguyen, Minh Ngoc
Nguyen, Hiep
Vo, Trung
Luu, Son T.
Nomura, Shoshin
Nguyen, Minh Le
Software Engineering
Artificial Intelligence
Computation and Language
I.2.7
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.
title Automated Web Application Testing: End-to-End Test Case Generation with Large Language Models and Screen Transition Graphs
topic Software Engineering
Artificial Intelligence
Computation and Language
I.2.7
url https://arxiv.org/abs/2506.02529