Interface test method, device, equipment and medium
An interface testing and interface technology, applied in program control devices, user interface execution, software testing/debugging, etc., can solve the problems of high cost, difficult to identify, and difficult to abstract features, achieve high accuracy, reduce testing costs, improve The effect of stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0046] figure 1 It is a flowchart of an interface testing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of abnormal testing of the user interface style. The method can be executed by an interface testing device, and the device can be realized by software and / or hardware. see figure 1 , the interface testing method provided in this embodiment includes:
[0047] S110. Identify the function information area in the interface to be tested.
[0048] Wherein, the screenshot of the interface to be tested is an intercepted image of the interface to be tested.
[0049] The functional information area is the area to which the functional information belongs in the functional areas included in the interface to be tested.
[0050] The functional area is the area used to realize a certain function in the interface to be tested. For example, the first line in the People Encyclopedia interface is the functional area for describing the...
Embodiment 2
[0087] figure 2 It is a flowchart of an interface testing method provided by Embodiment 2 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiments. see figure 2 , the interface testing method provided in this embodiment includes:
[0088] S210. Based on the background color of the interface to be tested, extract valid information areas in the interface to be tested.
[0089] Wherein, the effective information area refers to an area including effective information. Specifically, the effective information area may be a text area, an image area, a punctuation area, and the like.
[0090] Specifically, the extracting the effective information area in the interface to be tested based on the background color of the interface to be tested includes:
[0091] Determine the background color of the interface to be tested according to the pixel value of the screenshot of the interface to be tested;
[0092] Traversing the...
Embodiment 3
[0117] image 3 It is a flowchart of an interface testing method provided by Embodiment 3 of the present invention. This embodiment is an optional solution proposed on the basis of the foregoing embodiments. see image 3 , the interface testing method provided in this embodiment includes:
[0118] S310. Identify the function information area in the interface to be tested.
[0119] S320. Determine the position coordinates of the function information area in the set coordinate system.
[0120] Specifically, the set coordinates may be any coordinate system.
[0121] Typically, the set coordinate system is the same as the image coordinate system of the screenshot of the interface to be tested.
[0122] Usually, the coordinate system of the screenshot of the interface to be tested takes the upper left corner of the image as the origin, extends to the right as the positive semi-axis of the x-axis, and extends downwards as the positive semi-axis of the y-axis.
[0123] Optional...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com