Font Size: a A A

Research On Script Adapting To Cbtc Simulation Test

Posted on:2011-04-28Degree:MasterType:Thesis
Country:ChinaCandidate:C WangFull Text:PDF
GTID:2198330332975418Subject:Traffic Information Engineering & Control
Abstract/Summary:PDF Full Text Request
CBTC (Communications-Based Train Control) system is very rigorous for the safety and reliability of its equipments, so it is unavoidable to test the equipments again and again in the regression tests. The original testing platform of Beijing Yizhuang Line CBTC project is a manual testing platform and it can not meet the needs of this kind of regression test, while the effective way to solve this problem is automated test. In this way the original manual testing platform needs to be transformed into an automated testing platform. So that it can effectively improve the testing efficiency and reduce the burden on the testers.The way of automated testing platform implementation is adding an Automated Simulation Testing Manager which is taking charge of driving and supervising the other simulative devices to implement test cases automatically based on the original manual testing platform. Meanwhile, the recording form of test case driven command is script. As a matter of fact, nowadays most of the mainstream automated testing tools at home and abroad use script as a command recording form. It is to research on a script adapting CBTC simulation test is for the implementation of automated test of the testing platform in this dissertation. In other words, automated test is idea and purpose, while script is the means and methods for automated test.First of all, this dissertation analyses the requirement of CBTC Automated Simulation Testing platform, and designs a new kind of script adapting to CBTC Automated Simulation Test with the theory of Formal Languages and Automata, meanwhile shows its Regular Grammar description. Then the script interpreter is designed and an Automated Simulation Testing Manager program including script interpreter is developed. It is detailed analyses the program's function, the process of design and implementation. For example, the state transition diagram is used for designing lexical analysis module of the script interpreter, while the syntax tree is used for designing the syntax analysis module of the script interpreter.At the end of this dissertation, it takes a specific test case belonging to CBTC actual project of Beijing Yizhuang line for example, and provides an idea about how to transform test case to script, and designs the script for the whole test case. The simulation running result is successful passed. Meanwhile, the error-check protection function of the script interpreter is also passed. Therefore the practicality of this Script Interpreter is proved. In addition, it is proved that the automated testing program is economic.It is to research on a script adapting CBTC simulation test is for the implementation of automated test of the testing platform in this dissertation. This automated test can not only improve efficiency, but also save manpower and resources. It is proved that there are functional and economic practical values in script and its interpreter which are designed for the Automated Simulation Testing platform. So there is a good prospect of this kind of script adapting to CBTC Automated Simulation Test.
Keywords/Search Tags:Script, Interpreter, CBTC, Automated Simulation Test, Formal Languages and Automata
PDF Full Text Request
Related items