Deleting an Object Map Item

You might want to delete an item from an object map if it no longer exists in the test application or for some other reason.

  1. In the Package Explorer, click on the Object Maps folder of the project in which the object map that you want to change is located.
  2. Double-click the object map that includes the object map item that you want to delete. The object map displays a hierarchy of the object map items and the locator associated with each item.
  3. Navigate to the object map item that you want to delete. For example, you might need to expand a node to locate the object map item that you want to delete.
  4. Choose one of the following:
    • Right-click the object map item that you want to delete and choose Delete, or choose Delete tree to additionally delete all child items of the object map item.
    • Click the object map item that you want to delete and then press DEL, or press CTRL+DEL to additionally delete all child items of the object map item.
    After deleting an object map item, the focus moves to the next item in the object map.
  5. Press CTRL+S to save your changes

If any existing scripts use the object map item or its children that you deleted, you must manually change any references to that object map item in the scripts.