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.