Abstract:Automation testing technology is the development direction of software testing in the future. In the process of automatic testing, it will encounter many problems that maintainability is hard, the workload of the script maintenance is big, reusability of the test scripts are poor, the efficiency of testing is low, and so on. Test engineers have been in the mainstream of research and research is that how to introduce the technology of automatic testing framework to solve the above problems. This paper discusses the following questions in the applying process of automatic testing framework:the technology of storing testing script in the script library; the technology of designing test case; the technology of managing and classifying test data; the technology of sharing object library, and so on. Preliminary achieving the following results:improving the reusability and maintainability of test code, promoting the availability of testing execution, thereby reducing the test cost. Finally, we use the collaborative office platform as an example. The automatic testing framework based on QTP of collaboration office platform can reduce the amount of redundant code, speed up the speed of the code generation and reduce the test cycle ,and so on. It also can improve the utilization and maintenance of the code.