Control testing method of user interface, electronic equipment and storable medium

A user interface and testing method technology, applied in the control testing of user interface, electronic equipment and storable media fields, can solve the problems of unstable running of automated test scripts, affecting UI security and stability, increasing script maintenance pressure, etc. Reduce maintenance workload, good applicability, and the effect of reducing workload

Inactive Publication Date: 2019-05-24
CHINANETCENT TECH
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] For example, XPath and CSS have relatively complex syntax, which is not easy for testers to master
Moreover, the interface functions of general WEB applications are iterated and updated quickly. For the updated UI, the original path written for the target control may become invalid, resulting in unstable operation of the automated test script. Therefore, the automated test script often needs to follow the UI. During the update, a large workload will be generated, which will increase the maintenance pressure of later scripts and the high cost of automated testing.
[0007] Another example is the simple id and name positioning method, although the principle is simple, but a large number of unique ids and names must be added to the label attributes, which requires a large amount of work in the definition stage, and may cause potential problems such as code intrusion, affecting Security and stability of UI runtime

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
  • Control testing method of user interface, electronic equipment and storable medium
  • Control testing method of user interface, electronic equipment and storable medium
  • Control testing method of user interface, electronic equipment and storable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, various implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. However, those of ordinary skill in the art can understand that, in each implementation manner of the present invention, many technical details are provided for readers to better understand the present application. However, even without these technical details and various changes and modifications based on the following implementation modes, the technical solution claimed in this application can also be realized. The division of the following embodiments is for the convenience of description, and should not constitute any limitation to the specific implementation of the present invention, and the various embodiments can be combined and referred to each other on the premise of no contradiction.

[0027] The embodiment o...

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 relates to the field of automated testing, and discloses a control testing method of a user interface, electronic equipment and a storable medium. The control test method of the user interface comprises the steps of obtaining a visual feature of a target control; determining a search rule according to the visual features; searching a source code of an interface where the target control is located according to a search rule so as to position the target control; The preset action is executed on the target control, so that the test efficiency of the user interfaceis improved, and the maintenance cost is reduced.

Description

technical field [0001] The embodiment of the present invention relates to the field of automated testing, and in particular to a user interface control testing method, electronic equipment and a storage medium. Background technique [0002] UI (User Interface, User Interface) testing is a technology for testing a certain business function of the software under test by performing automated operations on various control elements on the UI. For example, click on one or more UI control elements on the user interface to finally detect whether the results of the tested software business functions meet the expected test results. [0003] A kind of testing method in the prior art is: test engineer learns the use to automated test tool, and test engineer builds test case for the application program being tested, writes test script according to test case and automated test tool, then runs the test script on the terminal. Test scripts and the program under test to obtain test results....

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
Inventor 罗灵辉
Owner CHINANETCENT TECH
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