Open Access

Automated Quality Assurance in Web Applications Using Model-Based Testing and Cypress with AI-Assisted Test Generation

4 Department of Information Technology, Lowe’s Companies Inc., Charlotte, North Carolina, USA.

Abstract

Modern web applications require robust, scalable and efficient QA methodologies due to their increasing complexity. Dynamic user interfaces, frequent deployments, and changing functional requirements many times can not be well addressed by manual testing or scripting tests approaches. In this paper, we outline an automated quality assurance (QA) framework that combines Model-Based Testing (MBT), a modeling approach to designing and generating test cases based on system models with AI-assisted test generation strategies using the Cypress testing platform. Our approach uses system models to automatically derive test cases, covering all possible behaviors of the application with minimal human assistance. Additionally, it uses AI for test scenario generation, optimization and prioritization based on historical defect patterns, user interaction data and application change patterns. It can break that combination of adaptive testing, accelerated regression cycles, and accurate defect detection. It also supports CI / CD pipelines, allowing users to seamlessly execute automated test suites after a deployment within live development environments. Experiment results show that our proposed system can reduce the time required for designing tests, increase testing coverage and find faults more efficiently when compared to conventional methods of testing. Moreover AI-based test generation greatly enhances maintainability by automatically updating the test scripts if any change occurs in UI or Logic. The paper demonstrates the feasibility of merging MBT withInSession Cypress automation & AI to build future generations QAS for current web applications, providing high software quality and reliability at speed.

How to Cite

Kasarapu, B. C. (2026). Automated Quality Assurance in Web Applications Using Model-Based Testing and Cypress with AI-Assisted Test Generation. Frontiers in Emerging Computer Science and Information Technology, 3(09), 14–23. https://doi.org/10.64917/fecsit/Volume03Issue09-03

References

K. Oueslati, M. Lamothe, and F. Khomh. RefAgent: A multi-agent LLM-based framework for automatic refactoring. arXiv preprint, 2025.
E. Park, M. Azanza, B. P. Lamancha, and E. Pizarro. Tracking the moving target: A framework for continuous evaluation of LLM test generation in industry. arXiv preprint, 2025.
Y. Pipalani, H. Raj, R. Ghosh, V. Bhargava, and D. Dutta. Go-UT-Bench: A fine-tuning dataset for LLM-based unit test generation in Go. arXiv preprint, 2025.
Y. Qin, M. N. Rafi, and L. Zhang. Order matters! an empirical study on large language models’ input order bias in software fault localization. arXiv preprint, 2025.
I. K. Schieferdecker. Navigating the growing field of research on AI for software testing – the taxonomy for AI-augmented software testing and an ontology-driven literature survey. arXiv preprint, 2025.
Z. Wang, S. Gao, C. Wang, C. Gao, X. Jiao, C. Y. Chong, S. Gao, and M. R. Lyu. The prompt alchemist: Automated LLM-tailored prompt optimization for test case generation. arXiv preprint, 2025.
Y. Yin, R. D. S. Santos, and C. Magalhaes. An empirical study on challenges for LLM developers. arXiv preprint, 2024.
Y. Zhang, X. Xu, Y. Jin, and S. Ji. An intelligent fault self-healing mechanism for cloud AI systems via integration of large language models and deep reinforcement learning. arXiv preprint, 2025.
V. Garousi, N. Joy, and A. B. Keles¸. AI-powered test automation tools: A systematic review and empirical evaluation. arXiv preprint, 2024.
C. Augusto, J. Plein, Y. Yuan, and M. Schafer. Large language models ¨ for software testing: A research roadmap. arXiv preprint, 2025.
Bernhard K Aichernig and Richard Schumi. 2019. Property-based testing of web services by deriving properties from business-rule models. Software & Systems Modeling 18 (2019), 889--911.
Sinan Akbulut, Yasmin Tesfaldet Gebreyesus, Alok Mishra, and Ali Yazici. 2019. Systematic mapping on quality in web application testing. In 2019 1st International Informatics and Software Engineering Conference (UBMYK). IEEE, 1--5.
Pelin Akpinar, Mehmet S Aktas, Alper Bugra Keles, Yunus Balaman, Zeynep Ozdemir Guler, and Oya Kalipsiz. 2020. Web application testing with model-based testing method: case study. In 2020 International Conference on Electrical, Communication, and Computer Engineering (ICECCE). IEEE, 1--6.
Ali M Alakeel. 2022. Dependency Detection and Repair in Web Application Tests. IAENG International Journal of Computer Science 49, 2 (2022).
Fernando Almeida. 2017. Concept and dimensions of web 4.0. International journal of computers and technology 16, 7 (2017).
Fernando Almeida. 2017. Concept and dimensions of web 4.0. International journal of computers and technology 16, 7 (2017).
Francisco Almenar, Anna I Esparcia-Alc´azar, Mirella Mart´ınez, and Urko Rueda. 2016. Automated Testing of Web Applications with TESTAR: Lessons Learned Testing the Odoo Tool. In Search Based Software Engineering: 8th International Symposium, SSBSE 2016, Raleigh, NC, USA, October 8-10, 2016, Proceedings 8. Springer, 218--223.
Aseel Alsaedi, Abeer Alhuzali, and Omaimah Bamasag. 2021. Black-box fuzzing approaches to secure web applications: Survey. International Journal of Advanced Computer Science and Applications 12, 5 (2021).
P Ammann and J Offutt. [n.d.]. Introduction to Software Testing. Cambridge University Press, 2008.
Anneliese Andrews, Ahmed Alhaddad, and Salah Boukhris. 2019. Black-box model-based regression testing of fail-safe behavior in web applications. Journal of Systems and Software 149 (2019), 318--339.