Django Based Design and Implementation of Automated Testing Tool
- Author
- LangFang
- Advisor
- WuZiLi , ZhangQunFang
- School
- Xi'an University of Electronic Science and Technology
- Major
- Computer technology
- Classification
- TP311.53 Software Maintenance
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 59
- Citations
- 1
Abstract
As the software test is becoming more and more important, the importance oftesting is shown stage by stage, automation test tool development and application hasbecome the universal tendency. The application of testing tool can not only improve thetest quality, reduce the testing process of the duplication of work, more conducive to therealization of automation testing. In this paper, redhat company automation testing toolsas the basis, for a commercial software, research and design of a Django basedautomation testing tool.The paper uses Django MVC design model as a framework, based on Pythonlanguage, combined with automated testing tool with its own characteristics, throughthe network installation of software server COBBLER, software automation testingframework STAF, task monitoring Watchdog, database mapping mechanism of ORMmodule design and application, implemented a software automatic testing tool VirtLab.The Cobbler is used to install machine system through network; STAF is mainly used toachieve the automatic testing, automatic generation of test documents; Watchdog ismainly to the completion of the testing machine monitoring, so that when the machinemeets the questions the system can be reset and restore; ORM realized VirtLab machineconfiguration parameter saving, add and delete test cases, query test results. Findings bythe trial within the company, meet the design requirements.The design and implementation of automated testing tool, not only to fully meetthe internal requirements, but also greatly improve the tests personnel’s workingefficiency, for the company to save a lot of human and financial resources, the results toachieve on the related software automation test tool development have a certainreference value.
Table of contents
Summary 3-4
Abstract 4-7
first chapter 7-11
1.1 research background 8 - 9
1.2 purpose and significance 9
1.3 related technology development at home and abroad 9-10
1.4 thesis structure 10-11 <br / > The second chapter describes the development of tools related technologies 11-19
2.1 python technical Overview 11-12
2.2 MVC design pattern describes 12-14
2.2.1 MVC design pattern Introduction 12-13
2.2.2 MVC process 13-14
2.2.3 MVC design pattern features 14
2.3 Django framework 14-16
2.3.1 Django framework for the development of the model and the advantages 15-16
2.4 network authentication protocol 16 - 19
2.4.1 explanation of terms agreement with other concepts introduced 16-17
2.4.2 works 17-19
Chapter automated testing tool needs analysis and design 19-33
3.1 user needs analysis functional architecture 19-20
3.2 automated testing tools 20-22
3.2.1 automation functional testing tool analyzes 20-21
3.2.2 system function block diagram of 21-22
3.3 design principles 22-23
3.4 automation test Tool interface design 23-24
3.5 automated testing framework designed 24-27
3.6 database design 27-33
3.6.1 database structure design 27-29
3.6.2 ER diagram automated testing tools 29-30
3.6.3 data table design 30-33
fourth Chapter achieve automated testing tools achieve 33-49
4.1 automated test framework 34-39
4.1.1 automated testing features and flowcharts 34-35
4.1.2 control Server software test automation framework achieve 35-39
4.2 database technical approach 39-41
4.2.1 database implementation 39
4.2.2 database table method implementation 39-41
4.2.3 database-related operations 41
achieve 4.3 network installation server 41-43
4.3.1 network Installation server Installation 41-43
4.4 system monitor implementation of 43-44
4.4.1 system monitor works 43-44
4.4.2 system Monitor installation and configuration 44
4.5 interface testing tool to achieve 44-49
4.5. an interface how to get data 44-46
4.5.2 Web interface implementations 46
4.5.3 interface implementation 46-49
fifth Chapter system testing and maintenance 49-61
5.1 test run environment 49-51
5.1.1 test environment hardware configuration 49
5.1. database 2 test environment configuration 49-51
5.2 test cases and results analysis 51-57
5.3 use during maintenance work 57-61 <br / > Maintenance 5.3.1 data acquisition mode 57-58
maintenance 5.3.2 database data structures 58-59
5.3.3 interface maintenance 59
5.3.4 documentation maintenance 59-61
Chapter VI summary and Outlook 61-63
6.1 summarizes 61
6.2 Looking 61-63
Thanks 63-65
References 65-67
Related dissertations
- The Design and Implementation of Common Logic Layer’s REST API for Virtual Community
- Desing and Implementation of Characteristic Resource Library System of Bift
- Non negative pressure water pump monitoring system design and implementation of SCADA software
- Design and Implementation of Heating Meter Reading Information System Basing on GPRS
- The Design and Implementation of Statistical Data Collection and Process System of Dujiangyan Statistical Bureau
- A Design and Development of Operation and Maintenance System for Zhejiang Social Security Center
- The Design and Implementation of Multi-sight Traffic Video Joint Interactive System
- Design and Implementation of Object-relational Mapping Freamework for Hybrid Data Store
- Design and Development of C Language Program Design of Excellent Course Website
- Design and Implementation of Multilevel Mapping-based Clinical Pathway System
- Design and Implementation of Practice Teaching Management Platform Based on the MVC Architecture
- Books Management System of Vocational School Based on the J2EE Multi-layer Framework
- Mobile Stock Information Analysis and Browser System Based on Pervasive Computing
- Design and Implementation of Fire Police Dispatch System Based on Java Technology
- Design and Implementation of GIS Distribution Network Management System
- Design and application of J2EE persistence layer framework DR-ORM
- Research and Design of ASP.NET Technique-based Training System for Corporate Staff
- Research on the Agricultural Biological Resources Utilization Information System Based on Webgisc
- Research and Application of Enterprise Information System Based on J2ee Architecture Platform
- Design and Implementation of a Mobile Learning System Based on Android Platform