Supercharge Your Innovation With Domain-Expert AI Agents!

Syntax-conversion-based automatic test method, device and storage medium

A technology of automatic testing and grammar, applied in software testing/debugging, error detection/correction, instruments, etc., can solve the problems of increased personnel overhead, difficult maintenance, low contact degree, etc., to improve speed and efficiency, improve accuracy, The effect of reducing the requirements of coding technology

Inactive Publication Date: 2019-03-12
TOYOU FEIJI ELECTRONICS
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first is that testers who write scripts need a certain programming foundation, and sometimes even special personnel are required to maintain scripts, which increases personnel overhead
The second is that the test script has a low connection with the test case and is difficult to maintain
However, after the developer modifies the button style, although the test case remains unchanged, the test script needs to be re-modified, thus causing additional maintenance costs

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
  • Syntax-conversion-based automatic test method, device and storage medium
  • Syntax-conversion-based automatic test method, device and storage medium
  • Syntax-conversion-based automatic test method, device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0026] figure 1 It is a flow chart of the automatic testing method based on syntax conversion of the present invention. see figure 1 , automatic testing methods based on syntax transformation include:

[0027] S1, perform syntax analysis on the test script written in natural language according to the syntax analysis engine.

[0028] The syntax parsing engine is a necessary component for executing the automatic testing method based on syntax conversion provided by the present invention. Its function is to perform grammatical analysis on the natural language input to the engine, so as to obtain the grammatical analysis result of the natural language.

[0029] Duri...

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 test method, a device and a storage medium based on syntax conversion. The method comprises the following steps of: parsing a test script written in a natural language according to a grammar parsing engine; Positioning page elements in the test script in the page to be tested by a page parsing engine; According to the parsing result of the syntax parsing and the positioning result of the page element, the test script compiled by the scripting language is compiled. And driving the browser to perform page testing through the test script compiled by the scripting language. The automatic test method, the device and the storage medium based on the syntax conversion of the invention make the test script and the test logic directly map, thereby greatly improving the speed and the efficiency of the test.

Description

technical field [0001] The invention relates to the technical field of software testing, in particular to an automatic testing method, device and storage medium based on syntax conversion. Background technique [0002] Recently, the quality requirements for software in the industry are getting higher and higher, which must have aroused the attention of testing work. The birth of a good software not only requires a strong testing team, the team must have a professional level in business and testing skills, and the software development process is often continuously adjusted due to testing. Among them, automated testing is an important part of software testing. Automated testing refers to automatic testing according to the test engineer's predetermined plan through automated testing codes, tools or other means. purpose of quality. [0003] Existing page automation testing schemes include two categories. One is to use test software tools based on recording and playback functio...

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 TOYOU FEIJI ELECTRONICS
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