Control analysis method and device for Web system test case recording, equipment and medium

A system testing and parsing method technology, applied in the field of control parsing recorded by web system test cases, can solve the problem of inability to realize control name recognition and so on

Active Publication Date: 2021-08-17
摩尔元数(福建)科技有限公司
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Using this solution can improve the accuracy and efficiency of positioning controls on the page, but this positioning only identifies the position of the control, and cannot identify the name of the control

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
  • Control analysis method and device for Web system test case recording, equipment and medium
  • Control analysis method and device for Web system test case recording, equipment and medium
  • Control analysis method and device for Web system test case recording, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Such as figure 1 As shown, this embodiment provides a control analysis method for recording a Web system test case. When an automated recording tool encounters an unrecognizable control during the recording of a Web system test case, it analyzes the actual structure of the control on the page. , add a parsing rule for identifying the control and save it in the test platform for the automatic recording tool to download and use in subsequent recordings. The actual structure of the control on the page can be obtained through a browser.

[0031] Such as figure 2 As shown, the recording process of the automated recording tool specifically includes the following steps:

[0032] S1. First download the currently maintained analysis rules from the test platform, and automatically reconstruct the local analysis rule library after the download is completed to generate the current analysis rule library;

[0033] S2. Enter the monitoring state, monitor all the keyboard and mouse...

Embodiment 2

[0076] Such as Figure 8 As shown, a control parsing device for recording a Web system test case is provided in this embodiment, which can be integrated into the test platform, including:

[0077] The analysis module is used to obtain and analyze the actual structure of the control on the page when the automated recording tool encounters an unrecognizable control during the recording of the Web system test case;

[0078] The analysis rule adding module is used to add a new analysis rule for identifying the control according to the analysis result of the analysis module and save it in the test platform for the automatic recording tool to download and use in the subsequent recording.

[0079] Among them, as a better or more specific implementation of this embodiment, such as figure 2 As shown, the recording process of the automated recording tool specifically includes the following steps:

[0080] S1. First download the currently maintained analysis rules from the...

Embodiment 3

[0107] This embodiment provides an electronic device, such as Figure 9 As shown, it includes a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, any implementation manner in Embodiment 1 can be realized.

[0108] Since the electronic device introduced in this embodiment is the device used to implement the method in Embodiment 1 of this application, based on the method described in Embodiment 1 of this application, those skilled in the art can understand the electronic device of this embodiment. Specific implementation methods and various variations thereof, so how the electronic device implements the method in the embodiment of the present application will not be described in detail here. As long as a person skilled in the art implements the equipment used by the method in the embodiment of the present application, it all belongs to the protection scope of the present applicat...

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 provides a control analysis method, device for Web system test case recording, and equipment and a medium, and the method comprises the steps: when an automatic recording tool encounters an unrecognizable control in the process of recording a Web system test case, analyzing the actual structure of the control on a page, and newly adding an analysis rule for identifying the control, and storing the analysis rule in the test platform for the automatic recording tool to download and use during subsequent recording. According to the technical scheme, when the encountered control name cannot be analyzed by utilizing the established analysis rule, the analysis can be completed by adding the corresponding analysis rule, so that various page environments can be dynamically adapted.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a control analysis method, device, equipment and medium for web system test case recording. Background technique [0002] The traditional automatic recording tool for web system test cases is to extract the information of the operated web page control (including: control name, Xpath, input value) by monitoring the user's mouse and keyboard operations to construct operation steps, and complete the automatic recording through step playback. running effect. [0003] Since the automatic recording tool internally parses the name of the operated control through the established parsing rules, in the current big scene where the web front-end technology is changing with each passing day and the page structure is updated and iterated rapidly, it is often difficult for the traditional recording method to analyze the existing web page controls. For accurate identification of altit...

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/3672G06F11/3684
Inventor 刘平
Owner 摩尔元数(福建)科技有限公司
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