3.18.3.1 Removing unused component names from the Object Mapping Editor

Over time, your Project will change, and these changes may mean that component names you had previously used in Test Suites , then mapped to technical names via the Object Mapping, are no longer used. This results in object mappings in which the component name is no longer used in the test for this AUT . Such component names can be recognized by the fact that Show corresponding specification in the Object Mapping Editor 3.28.3 returns no search results in the search result view (i.e. the component name is no longer used in the test), or if the search result view shows only Test Cases that are used in other AUT's . If you perform Show where used in the Component Name Browser   3.28.3 and the only search result is a mapping, then this is also a component name that is no longer used in the test.

You can delete any component names from the Object Mapping Editor that are unused in the Project for this AUT :

  1. In the Object Mapping Editor , select:
    Cleanup --> unused component names

    from the context-sensitive menu.
  2. The cleanup operation starts, and a progress dialog is shown while unused names are being searched for. Depending on the size of your Project , this search may take some time.
  3. If the Object Mapping Editor contains component names that are not used in any of the Test Suites for this AUT (either component names that are already mapped, or are still unassigned), then they are shown in a Delete unused component names dialog.
    \includegraphics[height=2cm]{lightbulb} If no component names are found, then you will see a message informing you of this.
  4. In the dialog to delete unused component names, you can see which component names have been identified for deletion. You can deselect individual component names to opt not to delete them. Once you have specified which component names should be deleted, click "OK".
  5. The component names you specify will be deleted from the Object Mapping Editor . Save the editor to save the changes.
    \includegraphics[height=2cm]{danger} Removing component names from the Object Mapping Editor does not mean that the component names are deleted from the Project . However, if the deletion from the object map means that the component name is now used nowhere in the Project , then it will appear under the Unused Component Names category in the Component Name Browser   and can be deleted from the whole Project 3.13.5
    .



Copyright BREDEX GmbH 2013. Made available under the Eclipse Public License v1.0.