Working with Shared Object Repository
The Object Repository Manager of HP Unified Functional Testing (UFT) helps to add and maintain the set of objects of AUT and allows automation engines to access these objects based on the testing requirements. These repositories can be stored at the shared location to be used by multiple users. These repositories are stored with the tsr extension. You can access these tsr files using Object Repository Manager to add, update, move, copy, and remove objects.
For more information on this, please refer to the HPE UFT documentation.
Mapping Object Repository with Qualitia Projects
Once the TSR file is created and objects are added from AUT, Qualitia users with Project Management privileges can map it with projects where the objects can be used.
If the project has been developed using objects from multiple TSRs, Qualitia users should merge all the objects in a single TSR using UFT and map this master TSR with the project.
To map object Repository with projects in Qualitia:
- Log on to Qualitia Automation Studio.
- On the Admin tab, click Projects.
The list of existing projects is displayed. - Do one of the following:
- To create a new project, click New.
- To map the object repository with an existing project, select the project from the list and then click the Edit button.
- In the Object Repository details section, click the browse button and select the TSR file.
- Click Next to proceed with the other changes to the selected project.
- Add or modify the User and User Roles, if required.
- Click Next to proceed.
A message is displayed asking confirmation about previewing the changes before synchronization. Do one of the following:
- To view the summary of the sync operation, click Changed Summary.
- To preview the report of modified objects, click Preview.
- To merge the new set of objects with existing object repository without preview, click Proceed.
- To cancel the sync operation, click Abort.
It is recommended to preview the summary report carefully.
- Once you have previewed the report, do one of the following.
To merge new objects with the existing object repository, click Proceed.
To cancel the sync operation, click Abort.
Synchronizing Shared Repository Objects
Once you add/update objects in the TSR file, you must synchronize it in Qualitia to ensure the availability of the latest set of objects required for test case developments and executions. The Sync TSR button helps in synchronizing and getting the latest set of objects from the TSR file. This button appears on the Develop and Execute screens in Qualitia.
Before merging objects from the TSR file, Qualitia validates them with the existing set of objects and generates the report based on the changes done in the TSR file. The report displays the list of objects that are added, moved, renamed, or removed from the TSR file. It will also display the non-supported objects separately for easy identification.
To sync objects with Qualitia:
- Log on to Qualitia Automation Studio.
- Click the Sync TSR button available in the Develop and Execute tabs.
A dialogue box opens. - Do the following:
- To view the summary of Sync operation, click Summary Change.
- To preview the report of modified objects, click Preview.
- To merge new set of objects with existing object repository without preview, click Proceed.
To cancel the sync operation, click Abort.
It is recommended to preview the summary report carefully.
- Once you have previewed the report, do one of the following:
- To merge new objects with the existing object repository, click Proceed.
- To cancel the sync operation, click Abort.
In case the application under test contain some non-English characters such as object names, CSV may not be able to display it properly.
Dealing with Objects Deleted From TSR File
Sometimes objects become obsolete in the application development life cycle. HP UFT allows deleting objects that are not in use any longer. You cannot delete Object Repository (OR) objects directly from Qualitia. You need to delete them from the TSR file (using HP UFT) and then you can remove such objects from Qualitia.
Once you synchronize tsr files after deleting objects the tsr file, those are displayed with the red exclamation mark in the object tree and red font in the test cases, tasks, and suites where they are used for easy identification.