摘要 |
PROBLEM TO BE SOLVED: To provide a method, computer program, and data processing system for recording GUI events and for persistently identifying the events' target GUI components for subsequent playback of the recorded events. SOLUTION: According to a preferred embodiment of the invention, each GUI component is assigned a numerical identifier by traversing the component hierarchy in a well-defined order. When the GUI components are accessed during the traversal, the components are numbered sequentially according the order in which the components are accessed. When events are received, they are recorded along with the number corresponding to the target component of the event. Upon subsequent execution of the GUI program, the component hierarchy is traversed again in the same order, which results in the same assignment of identifying numbers to components. Therefore, the recorded events can be played back by applying each event to its corresponding target component, as identified by number. COPYRIGHT: (C)2007,JPO&INPIT
|