TestComplete shows this message when you are trying to delete mapped objects marked as unused from the Name Mapping repository.
To detect unused mapped objects, TestComplete analyzes tests in your projects and test run statistics. To learn how TestComplete marks objects, see Find and Remove Unused Mapping Items.
There can be a situation when TestComplete cannot detect the object usage properly and marks the object as unused while it is actually used in tests. This can happen, for example, if:
-
The object is used in a test that was not run.
-
The object is added to the Name Mapping repository for future use.
-
The object is used by another project.
-
The object is used by a condition branch that was not executed during the test runs.
If you delete such an object, your tests will fail.
We recommend that you make sure that you run all your tests before you delete any unused items from the Name Mapping repository so that TestComplete could collect usage data. If your Name Mapping is shared among several projects, run those projects, as well.
Click Yes to delete the items anyway. TestComplete will create a backup copy or your Name Mapping file, place it to the same folder where your Name Mapping file is stored, and delete the items.
Note: | If needed, you can restore your Name Mapping from the backup. |
Click No not to delete the items.