Automatic nonstandard control testing method and device
An automated testing, non-standard technology, applied in the computer field, can solve the problems of increasing the burden of automated testing, waste of resources, etc., to save resources, reduce the burden, and improve efficiency.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0058] see figure 2 , Embodiment 1 of the present invention provides an automated testing method for non-standard controls, the method comprising:
[0059] 101: Acquiring in advance a GUI image of a non-standard control to be tested in the software to be tested.
[0060] 102: According to the pre-acquired GUI image of the non-standard control to be tested, determine the actual display position of the GUI image of the non-standard control to be tested on the current screen.
[0061] 103: At the actual display position, simulate the user's operation on the GUI image of the non-standard control to be tested, so as to test the non-standard control to be tested.
[0062] The beneficial effect brought by the technical solution provided by the embodiment of the present invention is: by pre-acquiring the GUI image of the non-standard control to be tested in the software to be tested; according to the pre-acquired GUI image of the non-standard control to be tested, determine the Measu...
Embodiment 2
[0064] see image 3 , Embodiment 2 of the present invention provides an automated testing method for non-standard controls, the method comprising:
[0065] 201: Acquire in advance a GUI image of a non-standard control to be tested in the software to be tested.
[0066] Among them, the tester intends to test a software with non-standard controls. The tester should first obtain the GUI image of the non-standard control to be tested in the software to be tested.
[0067] Further, there are two acquisition methods. The first one is acquisition through the UI resource package of the software to be tested. Testers match the GUI image of the non-standard control to be tested from the UI resource pack of the software to be tested, and export the GUI image directly after the matching is successful.
[0068] The second type is obtained through image aids. First, the tester starts the software by clicking an icon or other means. After the software is started, a series of UI will be ...
Embodiment 3
[0098] see Figure 4 , Embodiment 3 of the present invention provides a non-standard control automatic testing device, the device includes:
[0099] The acquisition module 301 is configured to acquire in advance the GUI image of the non-standard control to be tested in the software to be tested.
[0100] The determination module 302 is configured to determine the actual display position of the GUI image of the non-standard control to be tested on the current screen according to the pre-acquired GUI image of the non-standard control to be tested.
[0101] The simulation module 303 is configured to simulate the user's operation on the GUI image of the non-standard control to be tested at the actual display position, so as to test the non-standard control to be tested.
[0102] The beneficial effect brought by the technical solution provided by the embodiment of the present invention is: by pre-acquiring the GUI image of the non-standard control to be tested in the software to be ...
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