Test case script generation method and system, medium and electronic equipment

A technology of test cases and scripts, which is applied in software testing/debugging, electrical digital data processing, error detection/correction, etc. It can solve problems such as high time cost, difficult troubleshooting, and difficult to understand test case logic

Pending Publication Date: 2022-01-07
CHINA TELECOM CORP LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the solution for generating test cases still has defects such as the need for a certain learning threshold to use the test framework, the high time and cost required to understand the format of the Rest API request input and output parameters, the logic of complex test cases is difficult to understand, and it is difficult to troubleshoot.

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 case script generation method and system, medium and electronic equipment
  • Test case script generation method and system, medium and electronic equipment
  • Test case script generation method and system, medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

[0039] Furthermore, the drawings are merely schematic illustrations of the application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logi...

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 field of software testing, and discloses a test case script generation method and system, a computer readable medium and electronic equipment. The method comprises the following steps: acquiring a Rest API definition document, and analyzing the Rest API definition document to obtain element and parameter format information; outputting a graphic stream visual editing page; according to target components selected from the components of the graphic flow visual editing page, displaying the target components, and obtaining parameter data corresponding to the target components; according to the received interaction instruction, drawing a graphic flow in the graphic flow visual editing page; acquiring graphic stream data corresponding to the graphic stream, and taking the parameter data and the graphic stream data as graphic stream editing data; converting the graphic stream editing data into unified use case description information; and converting the unified case description information into a test case script. According to the method, the learning threshold of software testing is reduced, the software evaluation efficiency is improved, and the problem that scripts in different testing engine environments are incompatible is solved.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to a method, system, computer-readable medium and electronic equipment for generating test case scripts. Background technique [0002] At present, most of the online systems are developed in accordance with the Rest API specification, adopt a front-end and back-end separation architecture, and exchange data through the json format. Therefore, most of the conventional test case writing needs to understand the input and output parameter format of the specific Rest API request, and then use the syntax or tools specific to the automated test framework to generate test cases. [0003] However, the solution for generating test cases still has defects such as the need for a certain learning threshold to use the test framework, the high time and cost required to understand the format of Rest API request input and output parameters, and the difficulty in understanding the ...

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 CHINA TELECOM CORP LTD
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