Search code examples
vbscriptqtphp-uft

How to add a descriptive object to object repository in UFT?


In UFT, if I'm creating a descriptive object via code by manually specifying various micclass and value, Can that object be added to an existing object repository (*.tsr)?


Solution

  • Descriptive Object is nothing but creating the object manually via code i.e making an object(not recording it or adding via object spy) and assigning it properties.

    The same thing can be done in Object repository by using the Define New Test Object option. In the Object Repository Manager (or Object Repository) window from menu bar select Object->Define New Test Object and then select the all the properties than you want to assign to that object.

    Please go through the below link for reference:

    http://www.c-sharpcorner.com/UploadFile/9dc5d3/1/