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

Test script automatic fusion method and storage medium

A technology of testing scripts and fusion methods, which is applied in software testing/debugging, instruments, character and pattern recognition, etc. It can solve the problems of difficult measurement of script file quality, lack of judgment standards, and large randomness, so as to achieve easy understanding and avoid artificial Sensational impact, high execution efficiency effects

Active Publication Date: 2019-05-17
HENAN THINKER TRACK TRAFFIC TECH RES INST
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In manual operation, the workload of script selection is heavy, and the quality of the selected script files is difficult to measure, lacking clear judgment standards, and arbitrarily large

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 fusion method and storage medium
  • Test script automatic fusion method and storage medium
  • Test script automatic fusion method and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The present invention will be further described in detail below in combination with specific embodiments.

[0052] Based on the disadvantages of heavy workload and arbitrariness of existing manual fusion scripts, the present invention provides an automated script fusion method, which can automatically select suitable scripts for fusion, and reduce the workload of manual operations and the occurrence of errors in manual fusion.

[0053] Script files usually include the following elements:

[0054] (1) File header, including file name, function description, operating environment requirements, recorder, recording time;

[0055] (2) Operation element sequence: It is a series of operation elements and their preconditions. The content of operation elements includes time, action name, action parameters, etc., such as "20 seconds set speed output value 80". There can be many kinds of operating elements, such as setting speed, setting signal lights, setting diesel engine speed ...

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 fusion method. The method comprises the following steps of 1, screening a to-be-fused script list from a script file; 2, for the screened to-be-fused script list, establishing a time line of an operation element for the operation element in each to-be-fused script according to the occurrence time of the operation element; 3, for each script to be fused in the script list to be fused, selecting all operation elements of the same type in which the operation elements in different scripts to be fused are located within a set time, and selecting one of the operation elements as one of the operation elements of the fused script; and 4, for all the selected operation elements, according to the occurrence time of all the operation elements, connecting all the operation elements in series and combining the operation elements to generate a new fusion script file. After improvement, the workload of manual operation is reduced, and errors are reduced, the selection of operation elements has a clear standard, and the influence of artificial perception is avoided.

Description

technical field [0001] The invention relates to an automatic fusion method of test scripts. 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] Test scripts are generally text files that can be interpreted and executed by software, and can be written in a common programming language or in a custom file format. Due to the different factors considered, the test script methods used are also different, and each company generally does not publish its own script format definition. It can be found ...

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/36G06K9/62
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