paper-with-me

홈 › Papers

On the Soundness and Consistency of LLM Agents for Executing Test Cases Written in Natural Language

2025-09-23 · Sébastien Salva, Redha Taguelmimt arxiv

The use of natural language (NL) test cases for validating graphical user interface (GUI) applications is emerging as a promising direction to manually written executable test scripts, which are costly to develop and difficult to maintain. Recent advances in large language models (LLMs) have opened the possibility of the direct execution of NL test cases by LLM agents. This paper investigates this direction, focusing on the impact on NL test case unsoundness and on test case execution consistency. NL test cases are inherently unsound, as they may yield false failures due to ambiguous instructions or unpredictable agent behaviour. Furthermore, repeated executions of the same NL test case may lead to inconsistent outcomes, undermining test reliability. To address these challenges, we propose an algorithm for executing NL test cases with guardrail mechanisms and specialised agents that dynamically verify the correct execution of each test step. We introduce measures to evaluate the capabilities of LLMs in test execution and one measure to quantify execution consistency. We propose a definition of weak unsoundness to characterise contexts in which NL test case execution remains acceptable, with respect to the industrial quality levels Six Sigma. Our experimental evaluation with eight publicly available LLMs, ranging from 3B to 70B parameters, demonstrates both the potential and current limitations of current LLM agents for GUI testing. Our experiments show that Meta Llama 3.1 70B demonstrates acceptable capabilities in NL test case execution with high execution consistency (above the level 3-sigma). We provide prototype tools, test suites, and results.

📄 PDF Abstract BibTeX arXiv:2509.19136

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Evolving and Executing Research Plans via Double-Loop Multi-Agent Collaboration

2025-10-08 · Zhi Zhang, Yan Liu, Zhejing Hu, Gong Chen 외 arxiv

Automating the end-to-end scientific research process poses a fundamental challenge: it requires both evolving high-level plans that are novel and sound, and executing these plans correctly amidst dynamic and uncertain c…

RedCode: Risky Code Execution and Generation Benchmark for Code Agents

2024-11-12 · Chengquan Guo, Xun Liu, Chulin Xie, Andy Zhou 외

With the rapidly increasing capabilities and adoption of code agents for AI-assisted coding, safety concerns, such as generating or executing risky code, have become significant barriers to the real-world deployment of t…

SoundnessBench: Can Your AI Scientist Really Tell Good Research Ideas from Bad Ones?

2026-05-28 · Sy-Tuyen Ho, Minghui Liu, Huy Nghiem, Furong Huang arxiv

Autonomous AI research agents aim to accelerate scientific discovery by automating the research pipeline, from hypothesis generation to peer review. However, existing benchmarks rarely test a fundamental bottleneck: whet…

LITMUS: Benchmarking Behavioral Jailbreaks of LLM Agents in Real OS Environments

2026-05-11 · Chiyu Zhang, Huiqin Yang, Bendong Jiang, Xiaolei Zhang 외 arxiv

The rapid proliferation of LLM-based autonomous agents in real operating system environments introduces a new category of safety risk beyond content safety: behavior jailbreak, where an adversary induces an agent to exec…

Monte Carlo Query Search: Active Capability Assessment of AI Agents

2025-12-18 · Daniel Bramblett, Rushang Karia, Adrian Ciotinga, Pulkit Verma 외 arxiv

Black-box AI (BBAI) systems, including foundation-model agents, are increasingly used for sequential decision making. Safe deployment requires methods for characterizing what such systems can do, when they can do it, and…

Decision MakingActive Learning