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

Method, device, and computer-readable storage medium for verifying app interface layout

A technology of interface layout and interface, which is applied in computing, instrumentation, error detection/correction, etc., can solve the problems of low test coverage, long test cycle, high labor cost, etc., so that it is not easy to miss the test, save labor cost, and shorten the test cycle effect

Active Publication Date: 2020-09-01
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are deficiencies in manual verification, such as: low test coverage, easy to miss tests, high labor costs, and long test cycles

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, device, and computer-readable storage medium for verifying app interface layout
  • Method, device, and computer-readable storage medium for verifying app interface layout
  • Method, device, and computer-readable storage medium for verifying app interface layout

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

[0047] figure 1 It is a flow chart of a method for verifying the layout of an APP interface according to an exemplary embodiment, so as to solve the technical problems of low test coverage and easy omissions in the manual verification of the layout of the APP interface in the related art. Such asfigure 1 As shown, the method may include the following steps.

[0048] Step S11 , when 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 invention relates to a method and device for verifying an APP interface layout and a computer readable storage medium in order to solve the technical problems that the test coverage is low and test omissions easily occur in manual verification of APP interface layouts in correlated techniques. The method for verifying the correctness of the APP interface layout includes the steps of when a layout border display switch in developer options stays in a switch-on state, capturing a screenshot of a terminal interface displaying an APP page; conducting image processing on the screenshot of the APP terminal interface to form a screenshot to be verified, wherein the screenshot to be verified only reserves layout borders; utilizing an image similarity algorithm to calculate the similarity between the screenshot to be verified and a successfully verified target screenshot, wherein the target screenshot is the screenshot which only reserves the layout borders; according to the similarity, determining whether or not the screenshot to be verified can successfully pass the verification.

Description

technical field [0001] The present disclosure relates to the field of digital image processing, and in particular, to a method, device and computer-readable storage medium for verifying an APP interface layout. Background technique [0002] In related technologies, in order to verify the correctness of the layout of the Android APP interface, it is necessary to take a screenshot of the Android APP interface through the Android APP automated testing framework (such as UiAutomator of the python version), then store the screenshot in a designated location, and then manually verify it. . However, there are deficiencies in manual verification, such as: low test coverage, easy to miss tests, high labor costs, and long test cycles. Contents of the invention [0003] In order to overcome the problems existing in the related technologies, the present disclosure provides a method, device and computer-readable storage medium for verifying the interface layout of an APP. [0004] Ac...

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
CPCG06F11/3668G06F11/3688
Inventor 邵翔宇
Owner BEIJING XIAOMI MOBILE SOFTWARE CO LTD