Method and device for testing user interface, electronic equipment and readable storage medium

A user interface and interface technology, applied in the field of data processing, can solve the problems of low detection efficiency and time-consuming, etc., and achieve the effect of improving detection efficiency

Active Publication Date: 2019-12-10
BEIJING SANKUAI ONLINE TECH CO LTD
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when using the above test methods to test the user interface, in order not to miss test points and ensure the coverage of the test, software testers need to spend a lot of time and energy writing a large number of test cases, resulting in low detection efficiency

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
  • Method and device for testing user interface, electronic equipment and readable storage medium
  • Method and device for testing user interface, electronic equipment and readable storage medium
  • Method and device for testing user interface, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0079] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this application.

[0080] In related technologies, software developers will have a requirement for comparative testing of two user interfaces in various application scenarios. For example, after software is updated, software developers need to detect differences between the user interface of the new version and the user interface of the old version. For another example, for different user interfaces in the software, some same interface modules may be used, such as navigation modules, c...

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 embodiment of the invention provides a method and device for testing a user interface, electronic equipment and a readable storage medium, and aims to improve the detection efficiency. The methodcomprises: for a target interface module on a reference user interface, obtaining a view hierarchy tree of the target interface module, wherein all nodes included in the view hierarchy tree correspondto all interface elements of the target interface module respectively; determining a plurality of target interface elements from the view hierarchy tree; based on the plurality of target interface elements, executing snapshot operation to obtain a reference image; obtaining a plurality of to-be-tested interface elements from a to-be-tested user interface according to the plurality of target interface elements, the plurality of to-be-tested interface elements being in one-to-one correspondence with the plurality of target interface elements; based on the plurality of to-be-tested interface elements, executing snapshot operation to obtain a test chart; and performing similarity comparison on the test image and the reference image to obtain a test result.

Description

technical field [0001] The embodiments of the present application relate to the technical field of data processing, and in particular, to a method, device, electronic device, and readable storage medium for testing a user interface. Background technique [0002] With the development of Internet technology and the growth of people's demand for various application software, the version update speed of each application software is getting faster and faster, and the functions integrated in the user interface of the software are also becoming more and more abundant. Work, entertainment and other aspects of the demand, and at the same time increase the market share of application software. [0003] Usually, software developers need to determine the differences between user interfaces for the corresponding user interfaces of each version of the target software, or for the user interfaces of all levels of the target version of the target software, so as to determine whether the layo...

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/3688
Inventor 李松涛董尚先
Owner BEIJING SANKUAI ONLINE TECH 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