| With the continuous development of software technology,the arrival of the 4 era of industrialization,the production process automation,e-government process has become the goal of modern government and enterprises.Then the workflow technology to Activity engine as the representative of the generation of workflow technology and processing of government officers and employees to focus more on the data,rather than the process itself,greatly improves the work efficiency and production.In addition the workflow technology also allows employees to the division of labor between the more closely,every employee can only do their own work,the rest to the workflow engine to complete.Therefore,since the workflow technology is so good,so the workflow technology as the core of the business system needs strong,so for this kind of business system integration test is particularly important.Based on the above background,this research is based on the SmartHS service platform of workflow technology 4 companies,design and develop an automated testing platform for the SmartHS 4 test system(DWAT system),to reduce the difficulty and cost of manual testing.The DWAT system can help the testers to backup the database snapshot,build the test case template,generate the test case,run the test case,and so on.The design and implementation of the DWAT system greatly reduces the test cycle of the business platform based on workflow technology,speeds up the iteration speed and improves the efficiency of the project.The main focus of the system is the testing personnel.In this paper,the design and development of the system are discussed from several aspects,such as requirement analysis,outline design,detailed design and implementation,system testing and so on.The system uses the B/S architecture,development platform using Windows platform My Eclipse IDE,the overall system architecture using MVC hierarchical design,to ensure the separation of View and Model,improves the scalability and maintainability.In the aspect of data persistence,the server uses Oracle and MongoDB two kinds of database as the tool of data storage.The network communication between the server and the browser relies on the TCP/IP protocol,and uses Web Service to transmit the message between the application systems.The key technical points of this paper are:the optimization of the large data exchange of the data snapshot module,the use of the use case and the thread pool technology with high thread and the flow of the test template.We have reason to believe that the workflow technology has a broad prospect,which makes the automated testing of the business platform based on workflow as the top priority.After the on-line running of the DWAT system,the feedback of the testing department has been obtained. |