Research on Automated Software Testing Based on XML
- Author
- ZhuZuo
- Advisor
- WuJieMing
- School
- North China University of Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 245
- Citations
- 3
Abstract
Automated test makes the test process more systematic and calculated, raise the efficiency of the test process, and reduces the cost of the test process. The most important aspects of the automated test is the automatically generated of test case. This thesis applies the technique of XML to software test, designs an automatically test case generation method based on XML, The method stores the logic of program to be tested into XML documents, and generates the test cases based on the XML documents, makes the XML documents as a link between the information of the program to be test and the test cases. The benefits of making XML documents as a connecting link between the program to be test and the test cases in automated test process is: It is easy to load , expand and initialize components based on XML; XML documents is very canonical, so it is easy to develop the conversion processes to convert the test scripts into a variety of documents needed; The XML characteristics of the independent of the language and the platform makes the test cases to be independent of the language and the platform, makes the expansion of the testing tool of this thesis to multi-language and multi-platform easily, improves the expansibility of the testing tool of this thesis.This paper mainly covers three approaches as following:Proposed a XML-based automated testing system operational framework: which uses the XML documents stores the logic of the software to be tested, and generate test cases automatically basing on the XML documents, make the XML documents as an inter medium of the software test, improved the flexibility and scalability of the automated testing system .Proposed an algorithm of generate XML documents according to the logic branches of the software to be tested and consummates the algorithm. Proposed an algorithm of generate test cases according to the six methods of the white color box test: statements coverage, determine coverage, condition coverage, determine condition coverage, conditions combination coverage, path coverage bases on the XML documents.Designed and implemented the automated testing tool system, which tests a complex software product thoroughly with minimum human interaction. It can collect the information of the software product under test automatically, generate test cases automatically, execute the test cases automatically and generate test result report automatically.
Table of contents
Abstract 4-5
Abstract 5-10
1 Introduction 10-15
1.1 Background 10-12
1.2 subject research significance 12-13
1.3 research 13-14
1.4 papers organizational structure 14-15
2 Software Testing Overview 15-33
2.1 software testing theoretical foundation 15-21
2.2 software testing strategy 21-24
2.3 automated software testing 24-33
2.3.1 test automation concept 24
2.3.2 test automation goals 24
the 2.3.3 test automation in the software development cycle 24-26
the
characteristics of the 2.3.4 test automation 26-27
2.3.5 test automation common technique 27-30
2.3.6 software testing technology system 30
the 2.3.7 test automation development 30-33
3 research technical knowledge required 33-37
3.1 XML data processing 33-34
3.2 XML programming: DOM and SAX 34-35
the 3.3 measured object test information recognition technology 35-36
3.4 test documentation is automatically generated technical 36-37
4 based on the XML automated testing software requirements analysis 37-41
4.1 user requirements 37
4.2 functional requirements 37-40
4.2.1 New Test 38
4.2.2 Select the items be tested collection of information 38
4.2.3 Test results analysis 38-39
4.2.4 defect management 39
4.2.5 Data management 39-40
4.2.6 personnel management 40
4.2.7 work back 40
4.3 software Scope 40-41
5 XML-based automated testing software system design 41-66
5.1 system goals 41
5.2 system detailed design 41-45
5.3 software features structures 45-46
5.4 system running architecture 46-47
5.5 kernel module 47-48
5.6 measured object test information to identify and collect 48-50
5.7 to generate XML documents 50-54
5.8 to generate test cases 54-63
5.8.1 decision condition coverage test case generation 55-60
5.8.2 path coverage generated test cases 60-63
5.9 test information display and storage 63-66
the
XML-based automated testing software to achieve 66-70
6.1 start automated testing tools 66
6.2 test the selected program collection 66-67
6.3 data storage 67-68
6.3.1 using Excel for data storage 67-68
6.3.2 using the database for data storage 68
6.4 query related test information 68-69
6.5 Basic information services 69-70
6.5.1 add a new user 69
6.5.2 logout user 69
6.5.3 work back 69-70
7 summarizes 70-71
7.1 The research concluded 70
7.2 further work 70-71
the
References 71-76
Acknowledgements 76
Related dissertations
- Software Testing Technology and Developing an Automated Software Testing Tool
- Research and Implementation of distributed software test automation technology
- Network environment, software test automation technology research and application
- Design and Implementation of the XProc Processor Based on.NET
- Design and Implementation of the XML Document Processing System Based on Xproc
- Research of Web Information Extraction Based on XML
- Research of Information Extraction from Web Documents Based on Tree Automaton
- Research and Application of Information Retrieval Based on XML Document
- Research of Keyword Query Processing on XML Data
- Research on Subtree Results Generation of XML Keyword Search
- Results Diversification for XML Keyword Search Based on Semantics
- Agent-based Research and Implementation on Simulation Modeling and Scenario in Battlefield Environment
- Analog Electronic Technology Experiment Based on Virtual and Practicality Combined Lab
- Power Electronic Remote Experiment Under Virtual and Reality Combination Framework
- Research and Implementation of Keyword Query Technique in a Seamless Intergrated Relation-XML Database System
- The Design and Implementation of WebDAV Service in XML Database
- Research of Heterogeneous Database Integration Based on Web Service and XML
- Research on Encoding and Query Process Technology for Continuous Uncertain
- Research on XML Data Cube Based on Tree Structure
- XQuery Query Processor Design and Implementation