mlsanityData to 14 Oct 2026

Autonomous QA Agent: A Retrieval-Augmented Framework for Reliable Selenium Script Generation

arXiv 2601.06034 ↗First posted 28 Nov 2025cs.SE cs.AI cs.LGcited by 0

On the map: Retrieval-augmented generation → RAG pipeline design and evaluation

also in 1 more
Abstract (arXiv)

Software testing is critical in the software development lifecycle, yet translating requirements into executable test scripts remains manual and error-prone. While Large Language Models (LLMs) can generate code, they often hallucinate non-existent UI elements. We present the Autonomous QA Agent, a Retrieval-Augmented Generation (RAG) system that grounds Selenium script generation in project-specific documentation and HTML structure. By ingesting diverse formats (Markdown, PDF, HTML) into a vector database, our system retrieves relevant context before generation. Evaluation on 20 e-commerce test scenarios shows our RAG approach achieves 100% (20/20) syntax validity and 90% (18/20, 95% CI: [85%, 95%], p < 0.001) execution success, compared to 30% for standard LLM generation. While our evaluation is limited to a single domain, our method significantly reduces hallucinations by grounding generation in actual DOM structure, demonstrating RAG's potential for automated UI testing.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 3 of its 13 references that are in the map. First posted on arXiv 28 Nov 2025.

Builds on

3 of 13 references.

References · 3

  1. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  2. 2023Software Testing with Large Language Models: Survey, Landscape, and Visioncited by 166
  3. 2014A Survey of Software Engineering Practices in Turkey (extended version)cited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026APITestGenie: Generating Web API Tests from Requirements and API Specifications with LLMs ↗
  2. 2025Automatically Generating Web Applications from Requirements Via Multi-Agent Test-Driven Development
  3. 2025WebGen-Bench: Evaluating LLMs on Generating Interactive and Functional Websites from Scratch
  4. 2026VibeCheck: Assessing the Quality of LLM-Generated Unit Tests: A Multi-agent Empirical Study across Heterogeneous Repositories
  5. 2026WebTestBench: Evaluating Computer-Use Agents towards End-to-End Automated Web Testing
  6. 2025From Code Generation to Software Testing: AI Copilot with Context-Based RAG
  7. 2026Enhancing Large Language Models with Retrieval Augmented Generation for Software Testing and Inspection Automation
  8. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents