Specify whether object maps are recorded, which project to record them in, and how to handle locked object maps.
Click
Tools > Options.
Click the plus sign (+) next to
Record in the
Options menu tree.
The
Record options display in the right side panel.
Click
Locator.
To define whether you want to record object map entries or XPath locators, select the appropriate recording mode from the
Record object map entries list:
Object map entries for new and existing objects. This is the default mode.
XPath locators for new and existing objects.
XPath locators for new objects only. For objects that already exist in an object map, the object map entry is reused. Choosing this setting enables you to create
object maps for the main controls of an AUT, and to persist these object maps while creating additional tests against the
AUT.
In the
Options menu tree, click
General.
To record locators for locked object maps, select
Yes from the
Record locators for locked object maps list box.
If you select
Yes, when an object map is locked, any previously identified object map items are used where applicable and locators are used
for any new objects that you record.
If you select
No, you must wait for an object map to be unlocked before you can record.
To specify the project in which
Silk Test Workbench searches for object map items and creates items if no matching items are found, select an option from the
Object map location list box.
By default,
Silk Test Workbench searches the current project to find matching object map items to use when recording. If no matching items are found,
Silk Test Workbench searches all referenced projects. If matching items are found in a referenced project, those items are used. If no matching
items are found in a referenced project,
Silk Test Workbench creates the new items in the current project.
If you select
Current Project, object map items use the project in which the visual test or script resides.