Font Size: a A A

An Ontology-based Application For Test Script Auto Generation

Posted on:2007-12-15Degree:MasterType:Thesis
Country:ChinaCandidate:Y Q ZhangFull Text:PDF
GTID:2178360182960583Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Ontology can be able to construct a platform for communication between human and machines because of its concept sharing and formalization. Therefore, ontology based knowledge base is applied widely and popular among field of knowledge engineering and computer engineering. This paper focuses on software engineering and put forward a method of ontology-applied testing script generation.Auto testing is used widely in practical project development recently, which is mainly used in the area of GUI test and releases the human resources from tiresome repetition testing action with lack of judgments and decisions. Testing script, however, is finished manually. Once the design changed, the script should be revised immediately. This paper aims at these problems and researches for the feasibility of using ontology and semantic web as the auxiliary tool to facilitate generation testing scripts automatically, and designs a process to meet the method and implement the pertinent tools. This method is a good test of testing automation in software engineering.This paper firstly discusses the method of ontology establishment theoretically and constructs stock domain ontology by using tools of protege et al, and analyses the features and ranges of using auto-testing tools. The comparison in this paper between ontology query and testing script contributes the discovery of scripts auto-build relationship between ontology reasoning and testing scripts. The individual in ontology can be easily adjusted and applied as the testing cases in the semantic level, which can be mapped into the testing scripts to direct the testing platform accomplishment of GUI testing under the source code scanner aided.In the last part, this paper sets forth the software architect and implementation of auto-generation tool, and validates this tool within practical project.
Keywords/Search Tags:Ontology, Knowledge Base, Semantic Web, Software Testing
PDF Full Text Request
Related items