User page testing method and device, electronic equipment and storage medium
A test method and page technology, applied in the field of image processing, can solve problems such as poor generalization ability, no unified acquisition of control tree, no unified scheme for dividing page types, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] figure 1 It is a schematic flow chart of the user page testing method provided in Embodiment 1 of the present application. The method can be executed by the user page testing device or electronic equipment, and the device or electronic equipment can be implemented by software and / or hardware. The device Or the electronic device can be integrated in any smart device with network communication function. Such as figure 1 As shown, the testing method of the user page may include the following steps:
[0058] S101. Capture a screenshot of the current page.
[0059] In a specific embodiment of the present application, the electronic device may capture a screenshot of the current page. During the UI traversal process, first capture a screenshot of the current page and input it as the original screenshot. The current page here can be a page in different containers, including but not limited to: Native, WebView, applet, AR, and game.
[0060] S102. Obtain a control tree cor...
Embodiment 2
[0068] figure 2 It is a schematic flow chart of the user page testing method provided in Embodiment 2 of the present application. Such as figure 2 As shown, the testing method of the user page may include the following steps:
[0069] S201. Capture a screenshot of the current page.
[0070] In a specific embodiment of the present application, the electronic device may capture a screenshot of the current page. During the UI traversal process, first capture a screenshot of the current page and input it as the original screenshot. The current page here can be a page in different containers, including but not limited to: Native, WebView, applet, AR, and game.
[0071] S202. Perform image cutting on the screenshot of the current page to obtain multiple images in the current page.
[0072] In a specific embodiment of the present application, the electronic device may perform image cutting on the screenshot of the current page to obtain multiple images in the current page. Sp...
Embodiment 3
[0089] Figure 4 It is a schematic structural diagram of a testing device for a user page provided in Embodiment 3 of the present application. Such as Figure 4 As shown, the device 400 includes: an interception module 401, an acquisition module 402, a division module 403 and a test module 404; wherein,
[0090] The intercepting module 401 is configured to intercept a screenshot of the current page;
[0091] The obtaining module 402 is configured to obtain the control tree corresponding to the current page according to the screenshot of the current page;
[0092] The division module 403 is configured to divide the current page into corresponding page types according to the control tree corresponding to the current page;
[0093] The testing module 404 is configured to test the current page according to the page type corresponding to the current page.
[0094] Figure 5 It is a schematic structural diagram of the acquisition module provided in Embodiment 3 of the present a...
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