| As an important segment in Software Engineering, software testing plays a more and more important role in the process.Especially with the high-speed burst of software size and complexity; it is leading to increasingly critical.Ever since the appearance, software testing indicates and proves its incredible prospects in the future, with its rapidly development. Based on current condition, automated testing and web application testing are both the principal development directions of software testing.As the up-to-date technology of automated testing, automated testing framework has made some progress in recent years. However, there is no mature testing framework in the area of automated testing framework of web applications. On that account, this article puts forward an automated testing framework for web applications which is named Web Automated Testing Framework (WATF).This paper starts with the basic theories of web testing and automated testing and makes deep research in web testing and automated testing. With particularly concentration, investigation of automated testing framework, which is the latest achievements of automated testing, is taken into attention. After analyzing several types of existing automated testing framework, we confirmed the necessity of WATF. Then we clarified and classified the desired characteristic of WATF and made them the guide of whole framework design.We implement WATF partially after the introduction. With the assistance of the work we tested certain page elements and HTML syntax of some websites and got results. According to the results we analyzed the effect of WATF. At the end we discussed the shortcomings and potential applications in the future of WATF.The testing script template library contributes to WATF's flexibility, efficiency. high automation, expandability and many other advantages. Also we can notice the super-speed data extraction when testing the pages of web applications. These features make WATF irreplaceable against other frameworks.In the following work we will try to expand WATF. It will contain more script template to support automated testing work and increase the number of testing types that are supported by WATF. In addition that the prejudgment of defects will be taken into account as well as some other functions. Finally we expect WATF to be a mature, widely applied automated testing framework orienting web applications. |