Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.

Why do my ClassMaps no longer work after upgrading SilkTest or applying a hot fix?

Why do my ClassMaps no longer work after upgrading SilkTest or applying a hot fix?

Prior to the release of SilkTest 13 the only means to implement Class Maps for Custom Controls, when using the Open Agent; was to manually modify the plugin.xml file for the relevant techdomain.

The reason these class maps no longer work after upgrading SilkTest; is because the upgrade process overwrites the folder containing the modified version plugin.xml file, with a newer one that is now being used by the Open agent.


The upgrade does not delete the modified copy of plugin.xml, so this should still exist somewhere within the following directory; depending on which tech-domain you are testing, and which SilkTest build was running when the class maps were applied:

C:\Program Files (x86)\Silk\SilkTest\ng\agent\plugins

For example if you were running the release build of SilkTest 14(6504) when you mapped some custom controls to standard Win32 control types; then you would have to modify the plugin.xml file in the following directory:

C:\Program Files (x86)\Silk\SilkTest\ng\agent\plugins\com.borland.fastxd.techdomain.win32.agent_14.0.0.6504

After applying Hotfix 03 for SilkTest 14 the following folder is created and the Open Agent now reads the plugin.xml file from this directory, where the class mappings do not exist:

C:\Program Files (x86)\Silk\SilkTest\ng\agent\plugins\com.borland.fastxd.techdomain.win32.agent_14.0.3.6531

You can reapply the class maps by copying the changes in the original plugin.xml to the new one. However please ensure that you restart the Open Agent so that the changes are applied.

Finally, since the release of SilkTest 13 the recommended approach for implementing Class Maps is to use the new 'Manage Custom Controls' feature. This allows you to create custom classes for unsupported controls; which will not be affected by upgrading your version of SilkTest.

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-05-05 12:43
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.