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

Test script automatic linking 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: 2019-04-26
HENAN THINKER TRACK TRAFFIC TECH RES INST
View PDF3 Cites 6 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
  • Test script automatic linking 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

The invention discloses a test script automatic linking method and a storage medium, and the method comprises the steps: (1), pre-establishing a multi-dimensional state conversion matrix composed of different working states, (2), sequentially searching test scripts for lines which need to be tested according to the spatial sequence relationship of the lines, and obtaining a test script sequence ofthe test scripts with the sequential test sequence; (3) analyzing the working state of each test script, searching a state conversion matrix, obtaining a conversion condition required for convertingthe working state of the previous test script into the working state of the next test script in the test script sequence, and writing the conversion condition into the next test script; And (4) sequentially combining a plurality of test scripts in the test script sequence to form a new complete test script. The test of one line can be automatically carried out, the workload of manual operation isreduced, and the occurrence of errors is reduced.

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 Applications(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products