Skip to main navigation Skip to search Skip to main content

Agentic Test Automation in Web Applications

  • Alexander Martin Frank

    Student thesis: Master's Thesis

    Abstract

    Large language models (LLMs) have advanced rapidly from sequence-to-sequence mod
    els into general-purpose reasoning systems capable of acting as autonomous agents. This
    thesis investigates the use of LLM-based agentic systems for the automated execution
    of web-based test specifications, building on prior work at the Software Competence
    Center Hagenberg (SCCH) by Bergsmann et al. The main limitation of that earlier pro
    totype was the absence of a DOM pre-processing step, which prevented its application to
    more complex web applications. To address this, the present work adopts the Browser
    Use framework, which performs DOM simplification and iterative task execution, and
    interacts with the browser directly via the Chrome DevTools Protocol (CDP).
    Two research topics are examined. The first investigates whether injecting struc
    tural context into Browser-Use’s simplified DOM serialization—by adding indentation
    to express parent-child relationships—improves agent accuracy and efficiency. The sec
    ond explores whether embedding the browser agent within a four-agent collaborative
    system (Analyst, Coordinator, Browser, and Observer) improves logical reasoning on
    complex tasks. The systems are evaluated primarily on the Spring PetClinic application
    using fifteen Gherkin scenarios covering simple, complex, and intentionally unsolvable
    tasks, with an additional proof-of-concept evaluation on the larger Bugzilla application.
    The results show that injecting structural information yielded no significant gen
    eral improvement, offering only minor benefits for weaker, non-multimodal models. The
    multi-agent setup, in contrast, showed promising potential, improving performance for
    weaker models and achieving results comparable to the established baseline despite
    limited optimization. Across both topics, the choice of LLM had a far greater impact
    on performance than any of the system-level optimizations investigated. The system is
    therefore best understood as a functional proof of concept, with model selection and
    non-determinism identified as the principal constraints on reliability.
    Date of Award2026
    Original languageEnglish (American)
    Awarding Institution
    • FH OÖ
    SupervisorJohann Heinzelreiter (Supervisor) & Stefan Fischer (Supervisor)

    Studyprogram

    • Software Engineering

    Cite this

    '