Copying an Object Map Item

You can copy and paste object map entries within or between object maps. For example, if the same functionality exists in two separate test applications, you might copy a portion of one object map into another object map.

  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. Choose one of the following:
    • Double-click the object map that includes the object map item that you want to copy.
    • Right-click the object map that includes the object map item that you want to copy and choose Open.
    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 copy. For example, you might need to expand a node to locate the item that you want to copy.
  4. Choose one of the following:
    • Right-click the object map item that you want to copy and choose Copy tree.
    • Click the object map item that you want to copy and then press Ctrl+C.
  5. In the object map hierarchy, navigate to the position where you want to paste the item that you copied. For instance, to include an item on the first level of the hierarchy, click the first item name in the item list. To position the copied item a level below a specific item, click the item that you want to position the copied item below. To copy and paste between object maps, you must exit the map where you copied the object map item and open and edit the object map where you want to paste the object map item.
  6. Choose one of the following:
    • Right-click the position in the object map where you want to paste the copied object map item and choose Paste.
    • Click the position in the object map where you want to paste the copied object map item and then press Ctrl+V.
    The object map item displays in its new position in the hierarchy.
  7. Press CTRL+S to save your changes

If any existing scripts use the object map item name that you moved, you must manually change the scripts to use the new position in the hierarchy.