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

A test script automation fusion method and storage medium

A technology of testing scripts and fusion methods, applied in software testing/debugging, instruments, calculations, etc., can solve the problems of difficult measurement of script file quality, heavy workload of script selection, lack of judgment standards, etc., to achieve easy understanding and reduce work Quantity, the effect of avoiding the influence of artificial feeling

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] 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
  • A test script automation fusion method and storage medium
  • A test script automation fusion method and storage medium
  • A test script automation 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

A method for test script automation fusion, comprising the following steps: Step 1: screen the script list to be fused from the script file; Step 2: for the screened script list to be fused, for each operation element in the script to be fused according to the operation element Step 3: For each script to be fused in the list of scripts to be fused, select all operation elements of the same type whose operation elements are within the set time in different scripts to be fused, and select one of them As one of the operation elements of the fused script; Step 4: For all the selected operation elements, according to the occurrence time of each operation element, combine each operation element in series to generate a new fusion script file. After the improvement of the invention, the workload of manual operation is reduced, and the occurrence of errors is reduced. There are clear standards for the selection of operating elements to avoid artificial sensory influence.

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 Patents(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