A drag-and-drop zero-code front-end automated testing system based on image recognition

A technology of automated testing and image recognition, applied in software testing/debugging, creating/generating source code, error detection/correction, etc.

A technology of automated testing and image recognition, applied in software testing/debugging, creating/generating source code, error detection/correction, etc.

CN113626326BActive Publication Date: 2022-02-11THREE GORGES HI TECH INFORMATION TECH CO LTD +1

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A drag-and-drop zero-code front-end automated testing system based on image recognition
  • A drag-and-drop zero-code front-end automated testing system based on image recognition
  • A drag-and-drop zero-code front-end automated testing system based on image recognition

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0084] The present invention provides a drag-and-drop zero-code front-end automated test system based on image recognition, such as figure 1 and 11 shown, including:

[0085] Selection module: used to select the first functional node corresponding to the test process;

[0086] Configuration module: used to configure the input and output default values ​​and node attributes of the first function node and module node;

[0087] Building modules: used to build automated front-end test flow charts based on the configured first function nodes and module nodes;

[0088] Execution module: used for running the monitoring test process based on the automated front-end test flow chart.

[0089] In this embodiment, the test system encapsulates common code fragments and operations in the test process into flow chart nodes that can be dragged and spliced, and are uniformly managed by a configuration center module. Draggable process nodes are mainly divided into four categories:

[0090]...

Embodiment 2

[0103] On the basis of embodiment 1, the selection module, such as figure 2 shown, including:

[0104] The first acquisition module is configured to generate the test process based on user input or based on the user selecting test information from a pre-stored test information list, and generate a corresponding test request based on the test process;

[0105] A first parsing module, configured to parse the test objects and corresponding test tasks in the test request based on preset rules, and establish a task association graph for each test object;

[0106] A first judging module, configured to judge whether the task association diagram is legal based on a preset testable task list, and if the task association diagram is legal, judge whether the test parameters corresponding to each test task are within the first preset range , if so, then determine that the test request is legal, and generate a corresponding test task list;

[0107] The first judging module is further confi...

Embodiment 3

[0133] On the basis of embodiment 2, the second correction module, such as image 3 shown, including:

[0134] a second parsing module, configured to parse the feedback instruction;

[0135] A simulation module, configured to generate a first simulation test flow chart based on all second function nodes when the feedback instruction is that the test information is correct, and generate a corresponding second simulation test flow chart based on the third function node;

[0136] An association module, configured to determine the associated function nodes at corresponding positions in the first simulation test flow chart and the second simulation test flow chart when the total numbers of the second function node and the third function node are equal;

[0137] A screening module, configured to screen out fourth function nodes and fifth function nodes in the first simulation test flow chart that are inconsistent with associated function nodes at corresponding positions in the seco...

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 present invention provides a drag-and-drop zero-code front-end automated test system based on image recognition, including: a selection module: used to select the first functional node corresponding to the test process; a configuration module: used to configure the first functional node And module node input and output default values, node attributes; building module: used to build an automated front-end test flow chart based on the configured function nodes and module nodes; execution module: used to run the monitoring test process based on the automated front-end test flow chart ; It is used to solve the problem of obtaining target elements through codes in the traditional front-end automated testing methods; and common test operations are used to allow users to combine them by dragging and dropping, so as to achieve zero-code testing.

Description

technical field [0001] The invention relates to the technical field of automated front-end testing, in particular to a drag-and-drop zero-code front-end automated testing system based on image recognition. Background technique [0002] At present, the testing of Web front-end projects usually requires professional test system developers to write special test codes based on the test framework. Mainstream test frameworks are mainly divided into two categories: [0003] 1. Unit testing framework: Jest, Mocha, Jasmine, AVA. The unit test framework pursues code coverage, and the workload of writing test code is huge, which runs through the entire project development cycle; [0004] 2. End-to-end technical frameworks mainly include Cypress, Selenium and other frameworks to obtain rendered interface elements by writing scripts, and simulate human operations to complete functional testing, UI testing, etc. [0005] Traditional front-end automated testing methods need to obtain tar...

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
11 Feb 2022
Publication
CN113626326B
IPC
G06F11/36; G06F8/34; G06N3/04
CPC
G06F11/3688; G06F11/3684; G06F8/34; G06N3/04
Inventors
熊仁都; 郭晓松