Exporting Local Objects to an Object Repository

You can export all of the objects contained in a component's local object repository to a new shared object repository in the file system or to a Quality Center project (if QuickTest is connected to Quality Center). This enables you to make the local objects accessible to other components. You export local objects to a new shared object repository using the Object Repository window.

Note: If your local object repository contains objects with parameterized property values, when you export these objects to a shared object repository the parameterized values become repository parameters that are mapped to their previous values. For example, if a local object was parameterized to use a component parameter, when you export the local object to a shared object repository it will be modified to a repository parameter that is mapped to a component parameter with the same value.

Tip: After you export the local objects, you can use the Object Repository Merge Tool to merge the shared object repository containing the exported objects with another shared object repository.

To export local objects to a new shared object repository:

  1. Open the component that has the local objects you want to export.
  2. Make sure that the Object Repository window is open.
  3. Choose File > Export Local Objects. The Export Object Repository dialog box opens.

Note: If you are connected to Quality Center, the dialog box that opens is different from the standard file system dialog box. You can switch between the two dialog box versions by clicking the File System and Quality Center buttons in the Export Object Repository dialog box.

  1. Select the location in which to save the file, specify the file or attachment name, and click Save or OK (depending on whether you are saving it to the file system or a Quality Center project).

The object repository is exported to the specified shared object repository (a file with a .tsr extension). You can now use the new shared object repository like any other shared object repository.

No comments: