Font Size: a A A

Research On Automatic Generation Method Of Test Script For On-board ATP Test Platform

Posted on:2020-01-03Degree:MasterType:Thesis
Country:ChinaCandidate:S C WangFull Text:PDF
GTID:2392330590996477Subject:Traffic Information Engineering & Control
Abstract/Summary:PDF Full Text Request
Automatic Train Protection System(ATP)is the key system of train control system that is widely used with the independent research and rapid development of China Train Control System(CTCS).At the same time,it is inevitable to carry out a large number of tests for on-board ATP.Therefore,automated test replaces manual test as the key to solving the problem.From the basic input and output of ATP control software,this paper improves the flow path of carrying out automated test by script,and does research on the method of generating the test scripts.The automated test scheme for on-board ATP is designed on the basis of existing test platform that has the function of train-ground simulation and needs manual operation.It uses executable scripts to simulate the driving operation by running the software of test platform.It can also automatically analyze of the running data for the test.Now the main development trend of testing software at home and abroad is the application of the script to execute the test.Furthermore,the script,which is written in an existing and full-blown language,can be easy to be transformed into executable file.It can run by itself without designing or using the script interpreter.It can reduce the test cost.For improving the efficiency of automated test,it is effective to study on the method of generating the executable scripts.This paper proposes an automated test scheme that is supported by scripts and the other data files.The conversion of data,the generation and import of files are applied in all aspects of the test.First input the route data.Test scenario is designed according to the test case for on-board ATP.And it is converted into data that is used as track section data and transponder telegram data for the test platform.The symbol is used to identify special variables in templates of message packets,and the generation problem of the transponder telegram is solved.Then input the test operation information.According to the requirement analysis of the automated test platform and the correlation principle of keyword-driven automated test frame,Python scripting language is used to design the test execution script that replaces the simulation operation of manual driving and analysis process.The test execution can also be transformed into the executable file.At last output the test result.Combined with the data from input and the control pattern curve simulation,the test output data is analyzed in this paper.A method for evaluating the test result from global and local two aspects is presented to compare the expected value with the test result.It can improve the test efficiency of on-board ATP and the accuracy of evaluating the test result.
Keywords/Search Tags:on-board ATP, automated test, test script, control pattern curve simulation, Python scripting language
PDF Full Text Request
Related items