Font Size: a A A

The Design And Implementation Of Domain-driven Automation Test Platform For WEB Application

Posted on:2011-09-20Degree:MasterType:Thesis
Country:ChinaCandidate:C XinFull Text:PDF
GTID:2178360308450281Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the high development of computer and internet recent years, the Web application has already been applied in people's life, work and entertainment aspects deeply. Therefore the quality and reliability of Web application is also getting more and more attentions. Automation test, which is the effective method to increase test efficiency and reduce test cost, is the recommend solution by the company which needs to do test for Web application. However, the traditional automation test technology can not adapt the challenges since Web application has complicated user interface, quick and frequent changes, diversified environment and frequent interaction. The traditional automation test technology has the problems that test scripts are hard to maintain, maintain cost is too high, test scripts execute too long and it doesn't support cross browser testing. These problems stand in the way of implement automation test for Web application in company.Based on the features of Web application, this thesis did requirement analysis for automation test platform for Web application and designed and implemented the automation test platform. This thesis also did research and improvement for the design of test script specially. This automation test platform provides a complete solution for the companies which need to do automation test for Web application from the design of test scripts, the management and execution of tests aspects.This thesis has mainly completed the following researching tasks:1. Architecture and design of Automation test platform for Web application. This thesis analyzes the requirement of automation test platform for Web application, builds up the architecture of automation test platform for test execution layer and test script layer. It also completes design of test case management module, test parallel execution module, test report & log module under testing execution layer and the design of testing script layer.2. Research on domain-driven design towards testing script in the automation test platform. This thesis presents an improved domain-based test script design solution based on automation test script technology and domain-driven design theory. This solution provides a way to create models for Web application test scripts, also provides a domain-based layered architecture for the test scripts. Using this solution to design test scripts could make the layer of test scripts more clear and make the test scripts easier to maintain and reduce the maintain cost for the test scripts because of quick changes in Web application.3. The implementation and validation of domain-based automation test platform for Web application. This thesis implements the modules in test execution layer of the automation test platform using open source tool TestNG, Selenium. It also develops the test scripts for item listing module of some online shopping site. The domain-based automation test platform for Web application is validated in the thesis and it has automatic test process, high test execution speed and high maintainability for test scripts.
Keywords/Search Tags:Web application, Automation test, Domain-driven design, TestNG, Selenium
PDF Full Text Request
Related items