On the Brittleness of Legacy Web UI Testing: A Pragmatic Perspective

Automated web UI testing addresses the labor- and time-intensive demands of manual testing. Despite its importance, numerous barriers impede the continuous automation of end-to-end web UI testing: brittle legacy tests, suboptimal automation frameworks, and web app design unsuited for effective UI testing. While many studies investigate these challenges, most overlook the root causes of brittleness from a pragmatic perspective. This dissertation first reassesses these causes by examining the brittleness of testing real-world web apps. Building on that, we extend existing frameworks to mitigate flakiness stemming from impractical automation frameworks. We also transform traditional web UI testing by decoupling test cases from web applications, using natural language as an intermediary. Finally, we introduce a pragmatic benchmark to steer research toward more realistic web applications. Through these studies, we aim to shed light on current challenges and encourage a more pragmatic perspective on UI testing.

Authors

Institutions

Publication Details

Published
2025-06-06
DOI
https://doi.org/10.1145/3713081.3731742
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On the Brittleness of Legacy Web UI Testing: A Pragmatic Perspective

Haonan Zhang
Software Engineering Research
article

On the Brittleness of Legacy Web UI Testing: A Pragmatic Perspective

Haonan Zhang
article en

Abstract

Automated web UI testing addresses the labor- and time-intensive demands of manual testing. Despite its importance, numerous barriers impede the continuous automation of end-to-end web UI testing: brittle legacy tests, suboptimal automation frameworks, and web app design unsuited for effective UI testing. While many studies investigate these challenges, most overlook the root causes of brittleness from a pragmatic perspective. This dissertation first reassesses these causes by examining the brittleness of testing real-world web apps. Building on that, we extend existing frameworks to mitigate flakiness stemming from impractical automation frameworks. We also transform traditional web UI testing by decoupling test cases from web applications, using natural language as an intermediary. Finally, we introduce a pragmatic benchmark to steer research toward more realistic web applications. Through these studies, we aim to shed light on current challenges and encourage a more pragmatic perspective on UI testing.

University of Waterloo (CA)
Openalex Percentile: Top 82%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.