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

UI automation testing method, device and electronic equipment

A technology of automated testing and detection methods, applied in software testing/debugging, etc., can solve problems such as poor compatibility, increased staff burden, and incompatible controls

Active Publication Date: 2022-03-01
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD +1
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The UI testing technology implemented by the above two tools has poor compatibility on WPF. During the UI testing process, incompatible controls often appear. For incompatible controls, they can only be determined in the form of click coordinates. The position of the control is captured to complete the test process of the business scenario. The biggest problem with this method is that whenever the resolution or position of the client changes, the script needs to be re-determined, which increases the burden on the staff

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
  • UI automation testing method, device and electronic equipment
  • UI automation testing method, device and electronic equipment
  • UI automation testing method, device and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the appended The figures are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order, and steps that have no logical context may be performed in reverse order or concurrently. In addition, those skilled in the art may add one or more other operations t...

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 application provides a UI automation testing method, device, and electronic equipment. The method includes: determining a specific page control object in a target business scenario, wherein the target business scenario includes a plurality of page control objects, and the specific page control object is based on a preset The pre-set control mode class library is unrecognizable page control object when testing the target business scenario; according to the specific page control object, the preset control mode class library is encapsulated to add specific The control mode class library corresponding to the page control object; according to the encapsulated control mode class library, test the target business scenario. In the process of automated testing, when an unrecognizable control object is detected, automated testing can be performed based on the packaged new control mode class library, and the efficiency of automated testing can be improved.

Description

technical field [0001] The present application relates to the technical field of UI automation, in particular to a UI automation testing method, device and electronic equipment. Background technique [0002] WPF (Windows Presentation Foundation, Windows Presentation Foundation) is a set of open source front-end CS platform software technology architecture developed based on windows controls. It provides an intelligent client development model for desktop applications and WEB applications. Its design considerations In order to improve the scalability, developers can create their own controls completely on the basis of WPF engine, or create their own controls by reclassifying existing WPF controls, so as to build rich and unified UI, media, graphics, images, animations and documentation etc. [0003] WPF-based UI test automation framework tools, currently used more are CodedUITest (based on UIAutomation) that comes with VisualStudio201X series, and QTP automatic testing tools...

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 Patents(China)
IPC IPC(8): G06F11/36
Inventor 王涛
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD