AMoRE: An agentic framework for end-to-end metamorphic testing of web applications
Andrei Coman, José Luis Fernández Alemán, Begoña Moros Valle
Abstract
Web applications are widely used in everyday activities such as e-commerce, banking, transportation, and healthcare, therefore ensuring their reliability is essential. End-to-end testing allows developers to validate complete workflows from the user's perspective, but designing and maintaining these tests remains costly. While interaction flows can be clearly defined, determining their expected outcomes is challenging when interfaces depend on dynamic data, session state, or external services. This challenge, known as the oracle problem, can be addressed through metamorphic testing, which verifies relations between related executions instead of requiring explicit expected results. However, metamorphic relations are typically defined manually and tailored to individual pages, limiting their applicability to generic web interfaces and their scalability in the context of increasingly prevalent AI-generated code. To address these limitations, we present AMoRE (Agentic Metamorphic Relation Explorer), an agentic tool for automatically discovering and generating metamorphic tests for websites supplied at test time. AMoRE follows a hybrid architecture that combines vision-language model-based UI exploration with deterministic test compilation, execution, and evaluation. A vision-language model explores the interface using a Set-of-Mark inventory and proposes structured metamorphic relations. These relations are then compiled into Playwright tests and evaluated through paired executions by a deterministic engine, without requiring further model calls. In a preliminary evaluation across five commercial websites, AMoRE generated and compiled 63 metamorphic relations from 100 exploration attempts, with 48 tests executing successfully.
Create a lesson
Related papers
The Placebo Improvement: Stress-Testing False Claims by Autonomous Research Agents
Shared title terminologycs.SEMarek Šuppa, Jaroslav Kopčan
MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Shared title terminologycs.SEPriyatham Kattakinda, Wenxiao Wang, Soheil Feizi
Beyond Static GUI Agent: Evolving LLM-based GUI Testing via Dynamic Memory
Shared title terminologycs.SEMengzhuo Chen, Zhe Liu, Chunyang Chen et al.
A Large Language Model-Based Framework for Automated Game Quest Testing
Shared title terminologycs.SEEnhong Mu, Nianyu Li, Jinyu Cai et al.
Can Browser Agents Detect Accessibility Issues? An Interaction-Aware Benchmark for Web Accessibility Testing
Shared title terminologycs.SEKaiquan Chen, Hang Dong, Bo Qiao et al.
Evaluating More with Less: Black-Box Test Selection for AI Agents
Shared title terminologycs.SEAli Asgari, Mitchell Olsthoorn, Arie van Deursen et al.