Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Automatic test method and system based on state transition

A technology of automatic testing and state migration, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of difficult test process scheduling management, difficult writing, lack of standardization of test scripts, etc., to improve the efficiency of script writing , clear logic, concise and easy-to-use scripting method

Active Publication Date: 2021-06-18
CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] 1. The scripts of the automatic test system of the existing wireless block center are directly written in script language, requiring testers to be proficient in script programming, which is difficult to write
[0008] 2. The existing automatic test system of the wireless block center uses a text editor to directly edit the script when writing the script, which cannot provide a visual script editing interface
[0009] 3. At present, the automatic test system of the wireless block center cannot provide real-time feedback on the execution of the script during the test process, and can only view the test results through the test log after the test is completed.
[0010] The present invention mainly aims at the lack of standardization of test scripts in the prior art, so that it is difficult to finely schedule and manage the test process, and proposes a new solution

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Automatic test method and system based on state transition
  • Automatic test method and system based on state transition
  • Automatic test method and system based on state transition

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0103] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0104] The embodiment of the present invention provides an automatic testing method based on state transition, comprising the following steps:

[0105] Obtain a test script, the test script includes one or more state elements, and the state elements are used to represent test actions and state transition relationships;

[010...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an automatic test method and system based on state transition, and the method comprises the following steps: obtaining a test script which comprises one or more state elements, and the state elements being used for representing a test action and state transition relation; analyzing the test script, converting the state element into a state object, and storing the state object in a state object list; executing an automatic test, namely obtaining at least one state object from the state object list as a current state object, and executing a corresponding test action according to the current state object; and migrating the current state object into other state objects in the state object list according to a specified condition, and continuing to execute the automatic test according to the switched current state object. By standardizing the test script and the corresponding object list, fine control scheduling management of the test process with the incidence relation can be realized, the test execution condition can be mastered comprehensively in real time, and the test script editing difficulty is reduced.

Description

technical field [0001] The invention belongs to the field of automatic testing, in particular to an automatic testing method and system based on state transition. Background technique [0002] In recent years, in order to meet the needs of the rapid development of passenger dedicated lines and high-speed railways, my country has used the European ETCS standard for reference and proposed the China Train Operation Control System (CTCS) based on my country's national conditions. The Raid Block Center (RBC) is the most critical equipment in the ground equipment of the CTCS-3 (Chinese Train Control System Level 3, China Train Operation Control System Application Level 3) train control system. It is obtained by interacting with other external ground systems The line information and train location information generate safety control commands, calculate the movement authority (MA), and transmit it to the train through the GSM-R (GSM For Railway) wireless network, so as to realize th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 曹雅鑫崔岩彭栋张玙韩兴邦王振辉
Owner CRSC RESEARCH & DESIGN INSTITUTE GROUP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products