Reinforcement learning as a mechanism of autonomous research in the AI-Agentic testing system
Keywords
- Reinforcement Learning
- AI-Agentic Testing
- autonomous testing
- test agent
- QA Automation
Abstract
The article is devoted to the study of Reinforcement Learning as a mechanism of autonomous research in the AI-Agentic Testing system. The purpose of the article is to justify the use of Reinforcement Learning in AI-Agentic Testing systems as an approach to the transition from scenario-based QA Automation to autonomous testing of software systems. In the course of the scientific research, general scientific methods of cognition were used, in particular analysis, synthesis, generalization, comparison, systematization and modeling. The results of the study show that Reinforcement Learning should be considered as the basis of autonomous behavior of a testing agent, since learning occurs through direct interaction with the environment. It was studied that the agent does not only execute pre-set instructions, but also opens pages, interacts with interface elements, records new states and gradually accumulates experience. It is concluded that agent testing changes the very logic of testing software systems: instead of simply executing a ready-made script, the agent sees the current state of the program, chooses an action, receives a result, and forms a behavioral policy aimed at maximizing the expected benefit. The following approaches are investigated: test generation based on an existing test class, sequential filtering of candidate tests, coverage gain estimation, multi-agent requirements processing, iterative test refinement, and ensemble use of LLM. It is shown that the combination of these approaches with RL makes it possible to move from scripted QA Automation to more flexible autonomous testing. It is shown that an autonomous agent is able to independently explore the program, determine potentially useful actions, find non-standard transitions, and form its own testing strategy. At the same time, it is emphasized that the effectiveness of such an approach depends on the correct definition of the reward, the availability of sufficient computing resources and the preservation of human control, therefore AIAgentic Testing should be considered as a tool for developing the work of the tester, and not as its complete replacement. The practical significance of the study lies in the possibility of using Reinforcement Learning to increase the depth, adaptability and autonomy of testing software systems.
References
Abo-eleneen, A., Palliyali, A., & Catal, C. (2023). The role of reinforcement learning in software testing. Information and Software Technology, 164, 107325. DOI: https://doi.org/10.1016/j.infsof.2023.107325
Alshahwan, N., Chheda, J., Finegenova, A., Gokkaya, B., Harman, M., Harper, I., Marginean, A., Sengupta, S., & Wang, E. (2024). Automated unit test improvement using large language models at Meta. arXiv. https://arxiv.org/abs/2402.09171
Asaftei, G.M., Roberts, R., Sticha, A. (2026, March 25). State of AI trust in 2026: Shifting to the agentic era. McKinsey & Company. URL: https://www.mckinsey.com/capabilities/tech-and-ai/our-insights/tech-forward/state-of-ai-trust-in-2026-shifting-to-the-agentic-era
Autio, C., Barrett, M., Newman, J., Nunn, J., Oprea, A., Pinelis, L., Rice, A., Tabassi, E., & Vassilev, A. (2024). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile (NIST AI 600-1). National Institute of Standards and Technology. URL: https://www.nist.gov/publications/artificial-intelligence-risk-management-framework-generative-artificial-intelligence
Bengio Y. International AI safety report 2026. International AI Safety Report. (2026). URL: https://internationalaisafetyreport.org/sites/default/files/2026-02/international-ai-safety-report-2026_1.pdf
Es, S., James, J., Espinosa-Anke, L., & Schockaert, S. (2024). RAGAs: Automated evaluation of retrieval augmented generation. Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics: System Demonstrations, 150–158. URL: https://aclanthology.org/2024.eacl-demo.16.pdf
Fan, Y., Liu, Y., Wang, Y., & Zhang, X. (2024). Can cooperative multi-agent reinforcement learning boost automatic web GUI testing? Proceedings of the 39th IEEE/ACM International Conference on Automated Software Engineering Workshops. URL: https://dl.acm.org/doi/10.1145/3691620.3694983
Giamattei, L., Borg, M., Stocco, A., Castellano, E., & Ricca, F. (2024). Reinforcement learning for online testing of autonomous systems: A replication and extension study. arXiv. URL: https://arxiv.org/abs/2403.13729
Gil, Y., Perrault R. (2026). The 2026 AI Index report. Stanford Institute for Human-Centered Artificial Intelligence. URL: https://hai.stanford.edu/assets/files/ai_index_report_2026.pdf
Kumari, P. (2025). Intelligent test automation: A multi-agent LLM framework for dynamic test case generation and validation. International Journal on Science and Technology, 16(1). https://www.ijsat.org/research-paper.php?id=2232
OWASP Foundation. (2025). OWASP AI Testing Guide. https://owasp.org/www-project-ai-testing-guide/
Pesaranghader, A., & Li, E. (2026). Hallucination detection and mitigation in large language models. arXiv. https://arxiv.org/pdf/2601.09929
Zhang, W., & Zhang, J. (2025). Hallucination Mitigation for Retrieval-Augmented Large Language Models: A Review. Mathematics, 13(5), 856. https://doi.org/10.3390/math13050856