Font Size: a A A

Software Test Automatically Based On XML Technology

Posted on:2008-05-02Degree:MasterType:Thesis
Country:ChinaCandidate:Q L MaFull Text:PDF
GTID:2178360218956624Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:Software Testing, Test Script, XML
PDF Full Text Request
Related items