Font Size: a A A

Research On Automated Software Testing Based On XML

Posted on:2009-09-26Degree:MasterType:Thesis
Country:ChinaCandidate:R ZhuFull Text:PDF
GTID:2178360242489078Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
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.
Keywords/Search Tags:XML, Software Test, Software Test Automation
PDF Full Text Request
Related items