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.