Method and device for updating measured control library

A technology for updating instructions and operating steps, which is applied in the field of Internet testing, and can solve problems such as redundancy of public control libraries, redundant data, manual update of tested control libraries, etc., and achieve the effect of improving quality and saving human resources and system resources

Active Publication Date: 2014-11-26
ALIBABA GRP HLDG LTD
View PDF3 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When writing UI automation scripts, after changing the operation of a certain control, the control may originally exist in the public control library, but because it is different from the operation in this script, it will be manually added to the public control library. controls, which creates redundancy in the common control library
[0006] It can be seen from the above that when the reference to the control changes (addition, deletion, modification), manual operations are required to ensure that the public control library truly reflects the function of the tested control library, but in the actual Internet test process There will be tens of thousands of scripts to write, such human manual operations simply cannot get the job done
In addition, due to the frequent maintenance and update of UI automation sc

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
  • Method and device for updating measured control library
  • Method and device for updating measured control library
  • Method and device for updating measured control library

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] As mentioned above, the main idea of ​​this application is to store control information, page information and operation step information in the tested control library on the server side, and establish an association relationship between them, so as to ensure that the tested control library The uniqueness of the control positioning information in the control. During the script information input process, you can obtain the control information of the tested page and compare it with the records in the tested control library on the server side to know whether it is necessary to target the acquired control in the tested control library The information generates related information records. When deleting and modifying the script information, the automatic deletion and modification of the tested control library can also be completed through relevant control logic.

[0035] In order to make the purpose, technical solution and advantages of the application clearer, the technical...

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 invention provides a method and device for updating a measured control library. The method comprises the steps of obtaining control information, page information and operation step information of a measured page; performing inquiring according to the page information to obtain a control information list of the measured page in the measured control library; when it is detected that the control information does not exist in the control information list, generating records, corresponding to the control information, the page information and the operation step information, in the control information list; when it is detected that the control information exists in the control information list, reserving original records of the control information in the control information list. The measured page information, the measured control information and the operation step information are stored in the control library, and are associated, and therefore uniqueness of control positioning information in the measured control library is ensured. In addition, when script information is updated and the property of the control is updated, the changes of the control information are monitored, updating is carried out when the information is changed, and therefore automatic real-time updating of the measured control library is achieved.

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

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F9/44G06F11/36
Inventor 夏大伟章屹
Owner ALIBABA GRP HLDG LTD
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