SilkTest Workbench: Why are all Object Maps included when I export a Visual Test and Associated Assets?

SilkTest Workbench: Why are all Object Maps included when I export a Visual Test and Associated Assets?

When you export a Visual Test or .Net script from SilkTest Workbench and choose to include 'Assets associated with Visual Tests or .Net Scripts', as shown in the following screenshot; the expectation may be that only those Object Maps required to run the test will be exported:

However in the following example the Notepad Visual Test requires only the 'Untitled - Notepad' Object Map to run; but when exported with these settings, the export includes Maps that are clearly not required to run the test:


This is currently the expected behavior when exporting Visual Tests or .Net scripts from SilkTest Workbench. The export functionality does not actually parse the Visual Test or Script for references to specific Object Maps; so it does not know which maps are required to run them. Instead all Object Maps present are exported; which ensures that the test will run after its imported to another Workbench installation.

This is a known issue with the export functionality that may be enhanced in a future release; but for the time being you can workaround this limitation by disabling the option 'Export assets associated with Visual Test and .Net Scripts', and explicitly select those Object Maps that you want to export:

DISCLAIMER:

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-16 14:20
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.