Analysis and Design of Automated-Testing Framework for E-Commerce System
- Author
- YangDongNan
- Advisor
- LuoShouShan
- School
- Beijing University of Posts and Telecommunications
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 36
- Citations
- 0
Abstract
With the rapid development of information technology, the significance of the software in the whole social life becomes higher and higher. The importance of software testing also becomes increasingly obvious. Extremely significant role is played by the software testing in the whole process of software development, which is the key to ensure the quality software and improve the reliability of software. Based on the development of software design technique, increase of software scale, decrease of software development cycle, and enlargement of work amount of software testing, it is an inevitable trend of software testing development that the software testing automatics will be applied to improve the efficiency and speed of software testing, shorten the software development cycle, and decrease the testing cost. Effective, multiplex, and automatic testing framework with simple operation should be developed, which becomes the key of software automation testing.First, research on the relevant theory of software automation testing system is made by the thesis. Through it, theoretical base of automation testing is learnt. Then, specific functional decomposition of the shopping cart module of tested website is made. For the framework selection, the integration of tool and development are adopted to complete the achievement of the framework. That is to say, Watir, which is relatively mature in the industry, is adopted for the automation of front end of the page. The achievement of other modules is made through self-development, such as report form module, and monitoring module, etc. Finally, further analysis and exploration are made by the thesis on the automation testing framework. Good foundation is laid for further improvement of efficiency of automation testing.In the project, feasibility analysis of the business function of tested website is made by the author. In the analysis, each required resource and the confronted potential risk of the project are confirmed. In addition, specific design of the automation testing framework is made. In the design, achievement pattern of each module in the framework is confirmed. In the testing framework, specific design on the module of the testing report form is completed. Through the thesis, good technical reference is provided for the automation testing of the large-sized website.
Table of contents
Summary 4-5
ABSTRACT 5-10
Chapter 1 Introduction 10-13
1.1 subject background 10-11
1.2 topics sense 11-12
1.3 the main chapters arranged 12
1.4 papers 12-13
Chapter II automatic test theoretical research technology 13-20
2.1 automated test concepts 13-14
automated testing process 2.2 14
2.3 automated testing technology development 14-16
2.4 automated testing framework outlined definitions 16-18
2.4.1 testing framework 16-17
2.4.2 automation defined test framework 17-18
2.5 automated test industry status 18-19
2.6 Summary 19-20
Chapter automated testing feasibility and needs analysis 20-29
3.1 existing test process analysis 20
3.2 automated test feasibility analysis 20-25
analysis 3.2.1 business 21-23
3.2.2 framework Analysis 23-24
3.2.3 -benefit analysis 24-25
3.2. 4 risk Analysis 25
3.3 automated Testing Requirements Analysis 25-28
3.3.1 functional requirements analysis 26
3.3.2 test environment demand advantages and limitations 26-28
3.4 automated test 28
3.5 Summary 28-29
design Chapter IV automated testing framework 29-42
4.1 describes the development of key technologies 29-34
4.1.1 object-oriented scripting language Ruby 29-30
4.1. 2 Web automated testing framework Watir introduced 30-32
4.1.3 page elements to find ways 32-33
4.1.4 automated testing in continuous integration 33 -34
detailed design nbsp 4.2 frame structure ; 34-41
4.2.1 framework of the overall design 34
4.2.2 framework for the development of norms 34 - 35
4.2.3 test script development module design 35-38
4.2.4 batch execution module design 38-39
4.2.5 analysis and reporting module design 39-40
4.2.6 Mail module design 40-41
4.3 Summary 41-42
Chapter test application framework the development and implementation 42-51
5.1 automated test development projects cart 42-47
5.1.1 common page elements developed 42-44 <br / > 5.1.2 test template class development 44-46
5.1.3 test code development 46-47
5.2 continuous integration project in the shopping cart application 47-50
5.2.1 use Hudson for continuous integration 47-48
day 5.2.2 build automated test 48-49
5.2. 3 distributed build automation 49-50
5.3 Summary 50-51
Chapter VI automation framework implementation effect and outlook 51-54
6.1 implementation Effect 51-52
6.2 inadequacies 52-53
6.3 future 53
6.4 Summary 53 - 54
Conclusion 54-55
References 55-56
Thanks 56
Related dissertations
- Design and Implementation of Automated Testing Integrated Platform of Rail-transit Signal System
- The Design and Implementation of Autotest
- Research on Test Plan of Development&Application and Its Technical Realization
- Design and Implementation of Embedded Software Testing System Based Qtopa
- Research on Testing Model and Automated Testing of Web Application
- Design and Realization of Process Engine’s Automated Testing Based on Workflow
- Research and Application on Unit Testing Technology for Object Oriented Program by CppUnit
- The Research on Agent-based Testing Framework and Testing Approach for Web Applications
- The Research of Software Testing Technology and Software Component Verification
- Distributed Systems Testing Technology Research and Application
- Design and Implementation of Data Migration Automation Testing
- Mobile Phone Automatation Test System Based on SC660X Platform
- The Design and Implementation of Test Data Automated Generation
- REST architecture test system application software Research and Implementation
- Analysis and Application of Software Localization Test
- Rules Driven Test Framework
- Research and Implement of GUI Based Auto-testing Architecture
- Studying the Model-based Framework for Testing Graphical User Interfaces
- For the graphical user interface of the software testing
- Technology research and application of data packets Software Testing