Unlock instant, AI-driven research and patent intelligence for your innovation.

Page test method, computing device and readable storage medium

A page testing and page technology, applied in computing, software testing/debugging, error detection/correction, etc., can solve problems such as difficult maintenance, unstable element control positioning, slow speed, etc., to improve accuracy, improve processing and execution Speed, fast processing effects

Pending Publication Date: 2021-11-05
UNIONTECH SOFTWARE TECH CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above solution has the problems of unstable element control positioning, slow speed, and difficult maintenance

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
  • Page test method, computing device and readable storage medium
  • Page test method, computing device and readable storage medium
  • Page test method, computing device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0026] Among the existing schemes, most of the schemes are to obtain the coordinates of the element control of the application through the application attribute. , by adding ObjectName to the element control of the Qt application based on Accessibility to locate the coordinates of the element control; on the App side, obtain the coordinates of the element control through the label attribute of the application. However, the above so...

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 discloses a page test method, a computing device and a readable storage medium, the method is executed in a server, the server is connected with a test machine, and the method comprises the following steps: obtaining a page picture of a to-be-tested page in the test machine; inputting the page picture into an element recognition model to obtain position information of page elements in the page picture; writing the position information of the page elements into a test script, and sending one or more operation instructions in the test script to a test machine to be executed; and obtaining a test result obtained after the test machine executes the operation instruction, and verifying the test result through an expected result of the operation instruction. According to the technical scheme, the accuracy of page element recognition is improved.

Description

technical field [0001] The invention relates to the field of software testing, in particular to an automatic page testing method, computing equipment and a readable storage medium. Background technique [0002] In the field of user interface (UI) automation testing, it is usually necessary to locate the position of the element control on the screen, and then trigger operations on the position of the element control by controlling the mouse or keyboard, and finally determine whether the test case is executed successfully. In the existing scheme, the template matching function provided by OpenCV is used to locate the target element by comparing the small target image and the large screen image. However, when using this solution for target positioning and automated test case assertion, if a slight change in the UI occurs, target element recognition will fail, resulting in a test case that is not robust enough; for automated testers, image resources need to be replaced frequentl...

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/3684G06F11/3688G06F11/3692
Inventor 黄明强
Owner UNIONTECH SOFTWARE TECH CO LTD