Saving Object Repositories

After you finish creating or modifying an object repository, you should save it. When you modify an object repository, an asterisk (*) is displayed in the title bar until the object repository is saved.

You can save an object repository to the file system or to a Quality Center project (if you are connected to a Quality Center project). If you want to associate the shared object repository with an application area so that it can be accessed by components, you must save it to your Quality Center project. You connect to a Quality Center project either from QuickTest or from the Object Repository Manager by choosing File > Quality Center Connection or clicking the Quality Center Connection button

Note: All changes you make to an object repository are automatically updated in all components open on the same computer that use the object repository as soon as you make the change—even if you have not yet saved the object repository with your changes. If you close the object repository without saving your changes, the changes are rolled back in any open components that were open at the time. When you open a component on the same computer on which you modified the object repository, the component is automatically updated with all saved changes made in the associated object repository. To see saved changes in a component or repository open on a different computer, you must open the component or object repository file or lock it for editing on your computer to load the changes.

To save an object repository:

  1. Make sure that the object repository you want to save is the active window.
  2. Choose File > Save or click the Save button. If the file has already been saved, the changes you made are saved. If the file has not yet been saved, the Save Shared 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 Open Shared Object Repository dialog box.

  1. Select the folder in which you want to save the object repository.
  2. Enter a name for the object repository in the File name or Attachment Name box (depending on whether you are saving it to the file system or a Quality Center project). Use a descriptive name that will help you easily identify the file.

Note: You cannot use any of the following characters in the object repository name: \ / : * " ? < > |

  1. Click Save or OK (depending on whether you are saving it to the file system or a Quality Center project). QuickTest saves the object repository with a .tsr extension in the specified location and displays the object repository name and path in the title bar of the repository window.

No comments: