This functionality is supported only if you are using the Classic Agent.
Silk Test Classic provides two functions that allow you to capture the class information of custom Java controls from a script:
The following procedure explains how to use these functions to record new classes for custom Java controls. Before beginning this procedure, make sure you have taken the necessary prerequisite steps to set up your environment as described in Configuring Silk Test Classic Java Support and Overview of Testing Java Applications and Applets.
To record new classes for custom controls from a script: