A test script automatic link method and storage medium

A test script and script technology, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of scattered test scripts and low efficiency, and achieve the effect of avoiding the influence of human feeling, reducing workload and reducing errors

Active Publication Date: 2022-03-15
HENAN THINKER TRACK TRAFFIC TECH RES INST
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Aiming at the shortcomings of scattered test scripts and low efficiency at present, the present invention proposes a method for automatically linking test scripts based on state transition matrix with line space sequence relationship

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
  • A test script automatic link method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0045] The present invention provides a method for automatically linking test scripts, the method comprising the following processes:

[0046] (1) Pre-establish a multi-dimensional state transition matrix composed of different working states, and the state transition matrix also includes the conditions required for transition between different working states;

[0047] (2) For the lines that need to be tested, search for test scripts from the test script library in sequence according to the spatial order of the lines or sort the test scripts that need to be tested in the line, and obtain multiple test scripts with a sequential test sequence sequence of test scripts;

[0048] (3) Analyze the working state of each test script, find the state transition matrix, obtain the transition conditions required to transition from the working stat...

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

An automatic linking method and storage medium for test scripts, including: (1) pre-establishing a multi-dimensional state transition matrix composed of different working states; Script, to obtain the test script sequence of multiple test scripts with sequential test sequence; (3) analyze the working state of each test script, find the state transition matrix, and obtain the test script sequence from the working state of the previous test script to the next one The transition conditions required by the working state of the test script are written into the next test script; (4) Combine multiple test scripts in the test script sequence to form a new complete test script. The test of one line in the invention can be carried out automatically, which reduces the workload of manual operation and reduces the occurrence of errors.

Description

technical field [0001] The invention relates to a test script automatic linking method and a storage medium. Background technique [0002] In an automated test system, a built-in textual test script is generally used to describe the test logic and expected results. The automated test system interprets and executes test scripts, triggers corresponding software and hardware actions, generates signals or conditions, obtains system feedback under specific conditions, compares it with the expected results, and judges whether the system feedback meets expectations, thereby judging whether the system function meets the design requirements . [0003] In the automated testing of railway train control system (LKJ) software, test scripts are closely related to railway line data, and a certain test case only tests a certain section of the line. [0004] Such as figure 1 , in an example line, there are 3 stations A, B, and C, and there are several signals between the stations that con...

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 Patents(China)
IPC IPC(8): G06F11/36
CPCG06F11/3684
Inventor 白鸿钧张明凯陈宇李冠军杨清祥
Owner HENAN THINKER TRACK TRAFFIC TECH RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products