Method and apparatus for updating a library of controls under test

A technology for updating instructions and operating steps, applied in the field of Internet testing, can solve problems such as redundancy of public control libraries, redundant data, and inability to complete work, and achieve the effects of improving quality and saving human resources and system resources
CN104166541BActive Publication Date: 2018-01-19ALIBABA GRP HLDG LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ALIBABA GRP HLDG LTD
Publication Date
2018-01-19

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present application provides a method and device for updating the tested control library. The method includes: obtaining the control information, page information and operation step information of the tested page; and obtaining the controls of the tested page in the tested control library according to the page information query Information list; when it is detected that the control information does not exist in the control information list, a record corresponding to the control information, page information and operation step information is generated in the control information list; and when it is detected that the control information exists in the control information list , keep the original record of the control information in the control information list. By storing the tested page information, tested control information and operation step information in the control library and associating these information, the uniqueness of the control positioning information in the tested control library is ensured. In addition, when the script information is updated and the properties of the control itself When updating, by monitoring changes in control information and updating when changes occur, automatic real-time updating of the tested control library is realized.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of Internet testing, more specifically to user interface (UI) automated testing technology, and especially to a method and device for updating a library of tested controls. Background technique

[0002] In UI automation testing in the Internet field, using UI automation scripts for UI automation testing of websites is actually simulating human behavior to operate controls on web pages and verify the results of operations. These controls are called tested controls because they are tested by UI automation scripts. For all UI automation script collections of a website, the collection of all tested controls tested during the test execution process is called the tested control library. The tested control library has properties that reflect in real time the degree of coverage of the automated script set to the tested web page elements.

[0003] When testers write or maintain UI automation scripts through the UI ...

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