Method for automatically creating test script, server and computer readable storage medium

A test script and automatic creation technology, applied in computing, software testing/debugging, instruments, etc., can solve the problems of inconsistent test script format, heavy workload, error-prone manual entry, etc., to improve test efficiency and avoid duplication Labor, the effect of reducing labor and time costs

Pending Publication Date: 2019-09-27
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the testing process, according to the traditional testing method, the testers need to enter the test cases one by one according to the interface format, the workload is heavy, and the ...

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
  • Method for automatically creating test script, server and computer readable storage medium
  • Method for automatically creating test script, server and computer readable storage medium
  • Method for automatically creating test script, server and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0052] It should be noted that the descriptions involving "first", "second", etc. in the present invention are only for descriptive purposes, and should not be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features . Thus, the features defined as "first" and "second" may explicitly or implicitly include at least one...

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 relates to the technical field of automatic testing, and discloses a method for automatically creating a test script, which comprises the following steps of: pre-storing a reference test script library, an interface specification and a computer data specification; when a tested software code is received, scanning the tested software code to generate an interface function list; matching the interface function list with a reference test script library to generate an existing interface function test script and a new interface function; generating a parameter assignment rule of a new interface function according to the interface specification and the computer data specification; generating a new interface function test script according to the new interface function and the parameter assignment rule; and finally, generating a test script of the tested software code according to the new interface function test script and the existing interface function test script. The invention further provides a server and a computer readable storage medium, by implementing the scheme, the server can automatically create the test script of the tested software code, the software test efficiency is improved, and meanwhile, the software test cost is reduced.

Description

technical field [0001] The invention relates to the technical field of automated testing, in particular to a method for automatically creating test scripts, a server and a computer-readable storage medium. Background technique [0002] Black-box testing and regression testing in the software life cycle are an indispensable and important part of software projects from project development to listing, and subsequent iterative updates. The workload in the entire software development process is very large, and each stage of software development will Perform multiple regression tests. In incremental and rapid iterative development, successive releases of new versions make regression testing more frequent. However, in the testing process, according to the traditional testing method, the testers need to enter the test cases one by one according to the interface format, the workload is heavy, and the manual entry is prone to errors. When the interface needs to be changed, the test sc...

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
IPC IPC(8): G06F11/36
CPCG06F11/3684G06F11/3688
Inventor 余娟娟
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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