
Research Article
An Autonomous RL Agent Methodology for Dynamic Web UI Testing in a BDD Framework
@ARTICLE{10.4108/airo.8895, author={Ali Hassaan Mughal}, title={An Autonomous RL Agent Methodology for Dynamic Web UI Testing in a BDD Framework}, journal={EAI Endorsed Transactions on AI and Robotics}, volume={4}, number={1}, publisher={EAI}, journal_a={AIRO}, year={2025}, month={7}, keywords={Reinforcement Learning, Web Applications, UI Testing, BDD, Automated Testing}, doi={10.4108/airo.8895} }
- Ali Hassaan Mughal
Year: 2025
An Autonomous RL Agent Methodology for Dynamic Web UI Testing in a BDD Framework
AIRO
EAI
DOI: 10.4108/airo.8895
Abstract
Modern software applications demand efficient and reliable testing methodologies to ensure robust user interface functionality. This paper introduces an autonomous reinforcement learning (RL) agent integrated within a Behavior-Driven Development (BDD) framework to enhance UI testing. By leveraging the adaptive decision-making capabilities of RL, the proposed approach dynamically generates and refines test scenarios aligned with specific business expectations and actual user behavior. A novel system architecture is presented, detailing the state representation, action space, and reward mechanisms that guide the autonomous exploration of UI states. Experimental evaluations on open-source web applications demonstrate significant improvements in defect detection, test coverage, and a reduction in manual testing efforts. This study establishes a foundation for integrating advanced RL techniques with BDD practices, aiming to transform software quality assurance and streamline continuous testing processes.
Copyright © 2025 Ali Hassaan Mughal, licensed to EAI. This is an open access article distributed under the terms of the Creative Commons Attribution license (http://creativecommons.org/licenses/by/3.0/), which permits unlimited use, distribution and reproduction in any medium so long as the original work is properly cited.