Font Size: a A A

Research And Implementation On Conversion Framework Of Test Scripts Based On Reverse Engineering

Posted on:2010-01-13Degree:MasterType:Thesis
Country:ChinaCandidate:X WangFull Text:PDF
GTID:2178360278452435Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Automation scripting is thought "across the boundaries". Users experiencing different automated testing tools feel it hard to translate their scripts from one tool to another. So far we have heard the voices for migrating the automated migration from users both from internal and external. Automated scripts migration benefits a great deal. It minimizes the efforts for rewriting all the scripts thus achieving the assets reuse. In short tern it helps users handle legacy assets in a graceful way. In long term, it brings along extra benefits other than migrating scripts by acting as a mediator to cover test assets of other testing tools and integrate them into the appointed products.In this paper, the conversion of the test script is based on the needs of the framework developed to minimize the workload of re-writing the test script, the script to achieve maximum reuse, automation of the basic conversion. Based on software engineering in the idea of reverse engineering, we design and realize the framework. Upon dissecting the TSL Script, we stretch out the object mapping, externalize the data, and then map the basic test related actions to our intermediate code. And User could define items in knowledge base and grammar files to alter the behavior of the "compiling" process. The intermediate code is compatible with the PACAS description language. The actions could be defined by action define list in PACAS. After that we can translate intermediate code to Java which is the script language of Rational Functional Tester.The conversion framework of test scripts can translate 85%-95% content of a test script to the language of another platform. The remaining part of the script need for artificial participation.
Keywords/Search Tags:Reverse engineering, compiler, automated testing, script translation, ANTLR, RDF
PDF Full Text Request
Related items