User interface test method and related device

A technology of user interface and testing method, which is applied in the direction of user interface execution, program control device, software testing/debugging, etc., and can solve the problems of inability to automatically and accurately generate test cases, low scalability of user interface image analysis, and inability to be automatic and accurate Generate user interface test cases and other issues to achieve the effect of improving test efficiency and reliability

Pending Publication Date: 2021-05-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, some user interface testing technologies can intelligently select subsequent test cases to execute tests through machine learning technology, but use case generation requires high labor costs; some user interface testing technologies can be based on deep learning user interface automation frameworks, but Image parsing has low scalability, cannot effectively parse user interface images, and cannot automatically and accurately generate test cases
Therefore, in the prior art, there are defects that cannot effectively analyze user interface images, and cannot automatically and accurately generate user interface test cases, resulting in low efficiency and reliability of user interface testing

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
  • User interface test method and related device
  • User interface test method and related device
  • User interface test method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concepts of example embodiments to those skilled in the art.

[0031]Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, ...

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 user interface test method and a related device, and belongs to the technical field of user interface testing. The method comprises the following steps: inputting a user interface image of a tested application into an interface identification model for interface analysis to obtain a page identifier of the user interface image and attribute information of a control element on the user interface image described by multiple tags, the interface identification model being a multi-label identification model generated by adapting to the tested application; acquiring jump logic information of the user interface image according to the page identifier and the attribute information; and generating a user interface test case for the tested application according to the control element, the page identifier and the jump logic information, wherein the user interface test case is used for executing a user interface test of the tested application. According to the embodiment of the invention, the user interface testing efficiency and reliability are effectively improved.

Description

technical field [0001] The present application relates to the technical field of user interface testing, in particular, to a user interface testing method and related devices. Background technique [0002] User interface testing, referred to as UI testing, is used to test whether the layout of the functional modules of the user interface is reasonable, whether the overall style is consistent, and whether the placement of each control is in line with customer usage habits. User interface testing ensures that the user interface provides appropriate operations for users to access and navigate the functionality of the test object. [0003] At present, some user interface testing technologies can intelligently select subsequent test cases to execute tests through machine learning technology, but use case generation requires high labor costs; some user interface testing technologies can be based on deep learning user interface automation frameworks, but Image parsing has low scal...

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/36G06F9/451
CPCG06F11/3688G06F9/451
Inventor 程培轩
Owner TENCENT TECH (SHENZHEN) CO LTD
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