主权项 |
1. A method of mapping objects of a user scenario with objects of a user interface, comprising:
registering, using a data processing system, a user scenario with a user interface automation framework, the user scenario including a first object that is also included in a first user interface, wherein the first object has an associated semantically annotated first field and the user scenario includes a recorded list of actions for objects of the first user interface; generating a second user interface from the first user interface by modifying the first object to create a second object, wherein the second object has an associated semantically annotated second field, wherein the second user interface comprises a plurality of objects; performing semantic relationship matching using a plurality of semantic relationship rules, the semantic relationship matching further comprising:
identifying a recorded semantic relationship that is associated with the first field, wherein the recorded semantic relationship defines a relationship between at least the first field and a first other field of the first object;identifying a semantic relationship from among one or more semantic relationships in the second user interface that matches the recorded semantic relationship, wherein the matching semantic relationship defines a relationship between at least the second field and a second other field of the first object; andidentifying, based on the matching semantic relationship, a matching object of the plurality of objects of the second user interface that is most similar to the first object, wherein the matching object is the second object; and in response to the semantic relationship matching resulting in the recognition of the second object, mapping the first object to the second object based on the first and second fields. |