Software Test Automatically Based on XML Technology
- Author
- MaQingLi
- Advisor
- SunHui
- School
- Dalian Jiaotong University
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 316
- Citations
- 3
Abstract
Test script is an essential part of test automation. It is a set of instructions executed by test tools. Most of the automated test tools have their own test script, which are incompatible of each other both in format and content. That brings difficult to testers. To address this difficult, we use XML as our test script. As the format of data exchange, XML has already been widely used in many fields. But applying it in software testing as test script is still not much seen. XML test script can reduce the dependence between script and test tools, enhancing the scalability.A number of issues remain to be solved in order to apply XML to software testing. This paper focuses on these problems.How to design XML script model? The third chapter of the paper introduced the idea of XML test script and has designed a model, which include not only information of class under test but also information of test cases.What is the flow of testing? Chapter 3 has designed a class test framework based on XML script model. The framework generate XML test script automatically and transformer it to test driver which is then executed to get test result. The framework is extensible.In order to verify the feasibility of the framework, Chapter IV realizes the framework using Java language. Through analysis the testing process, this framework is divided into five modules : Test Script module, test-driven generating module, executing module, test report generation module and user interface. C++ and Java codes’ tests demonstrate that this framework is feasible.Chapter 5 analysis and evaluates the framework using XML test script. Compared with previous model and framework, the new model is more suitable for object-oriented language, an even higher degree of automation.
Table of contents
Abstract 3-4
Abstract 4-5
directory 5-8
Introduction 8-12
. the background and significance of issues arising 8
research status 8-10
The main idea of ??this research 10
the main content of the research 10-12
software testing and its automation 12-22
1.1 software testing 12-18 <br / > 1.1.1 Software Testing Overview 12-13
1.1.2 software testing technology 13-15
1.1.3 software testing process 15-18
1.2 software test automation 18-21
1.2.1 Overview of automated test 18
1.2.2 automated testing technology 18-20 <br / > 1.2.3 automate the testing process 20
1.2.4 advantages and disadvantages of automated testing 20-21
Chapter Summary 21-22
second the chapter XML technology 22-34 2.1 an XML Overview
22-23
2.2 XML document structure 23-25 ??
the 2.2.1 XML document basic constitute 23-24
2.2.2 the form of a well-formed XML document of 24-25
2.3 DTD and Schema 25-27
2.3.1 the DTD 25-26
2.3.2 Schema 26-27
2.3.3 DTD and Schema Comparison 27
2.4 an XSLT 27 -28
2.4.1 XSLT transformation process 28
2.4.2 an XSLT style sheet components 28
2.5 the DOM and the SAX 28-33 < br /> 2.5.1 DOM 29-30
2.5.2 SAX 30-32
2.5.3 DOM and SAX comparison 32-33
Chapter Summary the class automatic testing framework based on XML scripts 33-34
Chapter 34-41
3.1 XML test scripts 34-36
3.1.1 XML test script thinking 34-35
3.1.2 abstract test scripts model 35
3.1.3 XML classes described in the test script model nbsp class testing framework based on XML scripts; 35-36
3.2 36-40
3.2.1 XML script automatically generated 36-37
3.2.2 based XML script class testing framework 37-38
3.2.3 test script generation module 38-39
3.2.4 test driver generation module 39-40 < br /> Chapter Summary to achieve 40-41
Chapter class automated testing framework based on XML 41-50
4.1 business process 41
4.2 module division the the 4.2.1 script generates 41-44
module 42
the 4.2.2 test drive generation module 42-43
4.2.3 the test execution module 43
4.2.4 test report generation module the 43-44
4.2.5 user interface 44
4.3 test script template 44-46
4.4 XML parser and XSL processor, select 46-47
4.5 software implementations 47-49
Chapter Summary 49-50
Chapter V model analysis and evaluation the 5.1 XML scripting model 50-52
50
5.2 testing framework nbsp advantages of class testing framework based on XML scripts; 50
5.3 50-51
5.4 this model deficiencies nbsp the; 51
Chapter Summary 51-52 < br /> Conclusion 52-53
Reference 53-55
Appendix A software test results file 55-60
master's degree during the academic papers 60-61
Acknowledgements 61
Related dissertations
- Key Technology Research for Networking Automatic Test System
- The Application of Automatic Generation of Test Scripts in Object-oriented Software Testing
- Research and Implementation of Automated Software Testing
- 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