Web应用程序的测试效率是影响测试成本的主要因素.通过对传统自动化测试框架的理论研究,在开源工具的基础上设计了Web自动化测试框架(Web Automated Testing Framework,简称WATF).WATF分为管理层和执行层,每一层都采用了模块化设计思想,抽象度高,易用性好,灵活性强且易于维护.实践表明,WATF能有效地指导Web应用程序自动化测试的实施,提高测试效率.
The testing efficiency of the Web application is a main factor which affects the testing cost. This paper designs WATF (Web Automated Testing Framework) based on open source tools through the theoretical study of the traditional automation testing framework. WATF contains management and executive level, and each level made use of the conception of modular with high degree of abstraction, good handiness, good flexibility and convenience to maintain. The practice has showed that WATF can guide the implementation of the Web application automation testing effectively and thus improve the testing efficiency.