Automatic script conversion method and device, computer equipment and storage medium

A technology of automated scripts and conversion methods, applied in the field of software testing, can solve the problems of poor versatility, inconvenient and fast, and low efficiency, and achieve the effect of strong versatility and improved testing efficiency

Active Publication Date: 2019-05-28
ZHEJIANG NUMBER CHAIN TECH CO LTD
View PDF15 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Based on this, it is necessary to describe the execution steps and expected results of the test cases. The existing method is to use natural language for text description. When the use case automation is needed in the future, it is not convenient to write automation scripts according to the use case description. For the technical problems of quickness, low versatility, and low efficiency, an automatic script conversion method, device, computer equipment, and storage medium are provided

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
  • Automatic script conversion method and device, computer equipment and storage medium
  • Automatic script conversion method and device, computer equipment and storage medium
  • Automatic script conversion method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0036] Software testing is an indispensable part of software engineering and an important means to verify software quality. Writing test cases is one of the basic skills for software testing positions.

[0037] The current common practice of converting test cases into automation scripts is:

[0038] ① Write test cases in "natural language" first;

[0039] ② For the use cases that need to be automated, use python, java and other programming languages ​​to write automated test scripts.

[0040] see figure 1 , figure 1 It is a schematic flowchart of an auto...

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 an automatic script conversion method and device, computer equipment and a storage medium. The method comprises the following steps: establishing an automatic script framework; filling the automated script framework with the test case to obtain automated script data; and converting the automatic script data into an automatic script. Automatic script conversion method, Theinvention discloses a device, computer equipment and a storage medium. An automatic script framework is established by using self-stipulated grammar; filling the steps of the test cases into the automatic script framework; the compiling mode of the test case is constrained; According to the method for obtaining the automated script data and converting the automated script data into the automated script, when the test case is compiled, readability of the test case is not sacrificed, a programming language does not need to be used for compiling the script any more, one-step operation is achieved, the method is more convenient and faster, universality is higher, and the test efficiency is improved.

Description

technical field [0001] The present application relates to the technical field of software testing, in particular to an automatic script conversion method, device, computer equipment and storage medium. Background technique [0002] Software Testing describes a process used to facilitate the verification of software correctness, integrity, security, and quality. In other words, software testing is a review or comparison process between actual output and expected output. The classic definition of software testing is: the process of operating the program under specified conditions to find program errors, measure the quality of the software, and evaluate whether it can meet the design requirements. [0003] A test case is a set of test inputs, execution conditions, and expected results prepared for a special purpose, in order to test a program path or verify whether a specific requirement is met. [0004] For the description of the execution steps and expected results of the t...

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
Inventor 王杰
Owner ZHEJIANG NUMBER CHAIN TECH CO 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