Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

SilkTest Workbench: How can large Object Maps be split into smaller pieces?

SilkTest Workbench: How can large Object Maps be split into smaller pieces?

Large Object Maps can be split into smaller more manageable maps but you must always ensure that each Object Map has a unique name. The simplest approach is to duplicate the original by right-clicking it from the Asset Browser; select 'Duplicate' from the context menu and assign a name to the new Object Map.

In the interests of simplifying the finding of Locators across a number of maps it makes sense to divide them alphabetically and to use some form of naming convention to indicate each Object Map's contents. For example: if the original was named 'Basic Controls' you can rename this as 'Basic Controls A-I' and the duplicates 'Basic Controls J-R' and 'Basic Controls S-Z', indicating the range of control names that it contains.

Once you have created and named the duplicates you need to delete any controls that fall outside the scope of the Object Map:

Empty Object Maps can also be populated with Objects by copy and pasting them from other Maps; or by clicking 'Edit' and then the 'Record New Entry' button; before selecting the control from the application under test.

Please note that if your existing tests reference controls in an Object Map that you want to split up; some level of script modification may be necessary to ensure that each control is accessed from the correct map. However; if you re-record your tests after splitting up your Object Maps; you will find that the Recorder recognizes Object Maps wherever they exist, and will generate a script that references them accordingly.


Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-10-07 23:36
Updated by:
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.