Supercharge Your Innovation With Domain-Expert AI Agents!

Test script generation method and device

A test script and script technology, applied in the computer field, can solve the problems of inability to automatically generate performance test scripts and low test efficiency

Pending Publication Date: 2021-03-19
AGRICULTURAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current method of automatically generating test scripts can only generate separate functional test scripts, but cannot automatically generate performance test scripts, and the test efficiency is low

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 generation method and device
  • Test script generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] At present, the functional test script of the software to be tested can be obtained by means of screen recording and the like. Specifically, technicians can operate the software to be tested on the screen, so as to control the software to be tested to perform certain or certain functions. The screen recording software can collect the display data of the screen, obtain the operation and input data of technicians, obtain functional test cases and convert them into functional test scripts. In this way, by running the functional test script, the test software can simulate the user's operation behavior on the operation object on the user interface, and verify the results output by the software. If the actual output result of the software matches the theoretical result, it means that the test result of the tested function of the software to be tested is a successful test.

[0040]Different from functional test scripts, the function of performance test scripts is to test the ...

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 embodiment of the invention provides a test script generation method and device. When a test script of to-be-tested software is generated, a function test script set of the to-be-tested software can be obtained firstly, the function test script set comprises at least one function test script, and the function test script comprises at least one piece of input data and is used the method is usedfor testing the execution condition of any one or more functions of to-be-tested software. Then, the input data of each function test script in the at least one function test script can be determinedas the input data of a performance test script, and the performance test script is used for testing the performance of any one or more functions executed by the to-be-tested software; and finally, aperformance monitoring item of the performance test script is obtained, and the performance test script is generated according to the input data and the performance monitoring item. Thus, only the function test software of the to-be-tested software needs to be obtained, the performance test script does not need to be additionally recorded, and the test efficiency is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a test script generation method and device. Background technique [0002] With the development of computer technology, software tends to be large-scale, complex and integrated. In order to ensure that the quality of the software meets the requirements, it can be tested before the software goes live. During the testing process, the testing software can input data into the software to be tested according to the test case, and obtain the output data of the software to be tested. By comparing whether the actual output data of the software to be tested matches the expected value, it can be determined whether there is a problem with the software to be tested. [0003] Test scripts can describe user operations in machine language, and play an important role in the software testing process. At present, test scripts can be written manually by technicians, or test cases can ...

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 AGRICULTURAL BANK OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More