Building Next-Generation Resilient Test Automation Frameworks Using AI and Cloud with Self-Healing Capabilities

Authors

  • Vivek Saiprasad Karnam Surge Technology Solutions Inc., USA. Author

DOI:

https://doi.org/10.63282/3117-5481/AIJCST-V8I1P109

Keywords:

Self-Healing Automation, AI-Driven Testing, Cloud-Native Execution, Test Maintenance, Flaky Test Detection, Locator Repair, Observability, Continuous Integration, Machine Learning, Regression Testing

Abstract

Modern CI/CD pipelines require fast and reliable testing, but conventional automation frameworks often fail due to changing user interfaces, APIs, and static element locators. This paper proposes an AI-driven, cloud-native test automation framework with self-healing capabilities to improve test reliability and reduce maintenance efforts. The framework integrates four layers: AI Intelligence, Self-Healing Engine, Cloud Execution, and Observability. It uses locator similarity, visual recognition, natural language processing, and anomaly detection to identify and repair broken test elements automatically. Evaluation across six key metrics demonstrated improvements over conventional automation, increasing success rate from 82% to 96% and healing accuracy from 74% to 92%, while reducing recovery time by 76.3% and regression execution time by 42%. The findings highlight the potential of AI-assisted self-healing and cloud-native execution to enhance testing efficiency, stability, and scalability. Future research will explore LLM-based test generation, reinforcement learning, and federated learning.

References

[1] J. Arbon, AI for Software Testing. Boca Raton, FL, USA: CRC Press, 2022.

[2] O. Parry, G. M. Kapfhammer, M. Hilton, and P. McMinn, “A survey of flaky tests,” ACM Trans. Softw. Eng. Methodol., vol. 31, no. 1, Art. no. 17, pp. 1–74, Oct. 2021, doi: 10.1145/3476105.

[3] A. Alshammari, C. Morris, M. Hilton, and J. Bell, “FlakeFlagger: Predicting flakiness without rerunning tests,” in Proc. IEEE/ACM 43rd Int. Conf. Softw. Eng. (ICSE), 2021, pp. 1572–1584.

[4] O. Parry, G. M. Kapfhammer, M. Hilton, and P. McMinn, “Empirically evaluating flaky test detection techniques combining test case rerunning and machine learning models,” Empir. Softw. Eng., vol. 28, Art. no. 72, 2023, doi: 10.1007/s10664-023-10307-w.

[5] A. Romano, Z. Song, S. Grandhi, W. Yang, and W. Wang, “An empirical analysis of UI-based flaky tests,” in Proc. IEEE/ACM 43rd Int. Conf. Softw. Eng. (ICSE), 2021, pp. 1585–1597.

[6] J. Wang, Y. Huang, C. Chen, Z. Liu, S. Wang, and Q. Wang, “Software testing with large language models: Survey, landscape, and vision,” IEEE Trans. Softw. Eng., vol. 50, no. 4, pp. 911–936, Apr. 2024, doi: 10.1109/TSE.2024.3368208.

[7] M. Schäfer, S. Nadi, A. Eghbali, and F. Tip, “An empirical evaluation of using large language models for automated unit test generation,” IEEE Trans. Softw. Eng., vol. 50, no. 1, pp. 85–105, Jan. 2024, doi: 10.1109/TSE.2023.3334955.

[8] S. Wang, S. Wang, Y. Fan, X. Li, and Y. Liu, “Leveraging large vision-language models for better automatic web GUI testing,” in Proc. IEEE Int. Conf. Softw. Maintenance Evol. (ICSME), 2024, pp. 125–137.

[9] G. M. Kapfhammer, P. McMinn, O. Parry, and M. Hilton, “Research on test flakiness: From unit to system testing,” in Proc. 37th IEEE/ACM Int. Conf. Automated Softw. Eng. (ASE), 2022.

[10] Functionize Inc., “Self-healing test automation: Smarter testing for modern apps,” Functionize Engineering Blog, 2025. [Online]. Available: https://www.functionize.com/automated-testing/self-healing-test-automation

[11] C. Kitchenham and S. Charters, Guidelines for Performing Systematic Literature Reviews in Software Engineering, EBSE Tech. Rep. EBSE-2007-01, Keele Univ. and Univ. of Durham, 2007.

[12] Cloud Native Computing Foundation, “CNCF Cloud Native Definition v1.1,” CNCF Technical Documentation, 2023. [Online]. Available: https://github.com/cncf/toc/blob/main/DEFINITION.md

[13] M. Kim, T. Zimmermann, R. DeLine, and A. Begel, “The emerging role of data scientists on software development teams,” in Proc. 38th Int. Conf. Softw. Eng. (ICSE), 2016, pp. 96–107.

[14] S. Habchi, G. Haben, M. Papadakis, M. Cordy, and Y. Le Traon, “A qualitative study on the sources, impacts, and mitigation strategies of flaky tests,” in Proc. IEEE Conf. Softw. Testing, Verification Validation (ICST), 2022, pp. 244–255.

[15] Q. Wang, J. Wang, M. Li, Y. Wang, and Z. Liu, “A roadmap for software testing in open-collaborative and AI-powered era,” ACM Trans. Softw. Eng. Methodol., vol. 34, no. 5, pp. 1–17, 2025.

Downloads

Published

2026-02-08

Issue

Section

Articles

How to Cite

[1]
V. S. Karnam, “Building Next-Generation Resilient Test Automation Frameworks Using AI and Cloud with Self-Healing Capabilities”, AIJCST, vol. 8, no. 1, pp. 89–98, Feb. 2026, doi: 10.63282/3117-5481/AIJCST-V8I1P109.

Similar Articles

21-30 of 325

You may also start an advanced similarity search for this article.