Turning Object Maps Off and On

You can configure Silk Test Workbench to use the locator name or the alias from the object map during recording.

To use the alias from the object map during recording:

  1. Click Tools > Options.
  2. Click the plus sign (+) next to Record in the Options menu tree.
    The Record options display in the right side panel.
  3. Click General.
  4. Select Yes for the Record object maps setting. By default, Silk Test Workbench records the alias from the object map during recording. If you set the Record object maps setting to No, Silk Test Workbench records the locator name during recording. You can turn the Record object maps setting off and on as you find necessary. However, when a test is recorded with locators, you must re-record it in order to use object map items.
Note: In addition to the XPath attributes, Silk Test Workbench uses additional attributes of the element when merging object maps during locator recording. However, attributes that might lead to ambiguous usage of object map IDs in a recorded script are not used to map locators to existing object map entries.
Note: When you enable the Record object maps setting, object map item names display in place of locators throughout Silk Test Workbench. For instance, if you view the Application Configurations category in the Properties pane, you will notice that the Locator box shows the object map item name rather than the locator name.