Font Size: a A A

Design And Implementation Of Data Auto-Generator For Web Testing

Posted on:2011-02-17Degree:MasterType:Thesis
Country:ChinaCandidate:P XieFull Text:PDF
GTID:2178330335960329Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of Internet, more and more users rely on internet to access information, and internet application becomes more and more and more complex, so automated test in internet application is particularly important. In the automated test, the data construct is a difficult problem, the paper analyzes data construct in internet application test and then analyzes solving ideas and give a solution to the combination of automated test data constuct effectively. This paper first analyzes the current situation about combinatorial explosion of test cases in the internet application, and then researchs the orthogonal combination to reduce the combinatorial explosion of test cases, finally researchs the current popular orthogonal combination of tools, including Microsoft tool- PICT and open source Allpairs through analogy research methods. After tool research, the open source tool -Allpairs is more flexible and easier to use, and easier to expand. After the comparison of Orthogonal combination tool,the paper defines the data auto generation language which allows users easily generate the various orthogonal data. During the data auto generation language development, this paper investigates the traditional Lex/Yacc and the latest compiler build tool antlr, found that antlr is not only easy to learn, but also easy to locate the problems during development process. Taking into account the orthogonal array tool -Allpairs is developed by python, so antlr with python is more suitable to devolp data auto generation language. Against the idea, the paper realizes the first version of data auto generation language, and designs some test cases to analysis and discussion the language, finally points out the weaknesses and the direction of improving.
Keywords/Search Tags:Orthogonal Arrays, Interepter, Auto-Testing, T Language
PDF Full Text Request
Related items