This functionality is supported only if you are using the Classic Agent.
After you enable extensions for testing a .NET Windows Forms application with the Classic Agent, if you see CustomWin declarations in the Record Window Declarations, then click 4Test-style prototypes. Silk Test Classic does this automatically when you click .
in order to work with the CustomWin controls. The process of recording a class involves querying the objects in your application, retrieving information on properties and methods, and then translating the information intoWe recommend that you create an include file, for example userclass.inc, for your new class definitions, instead of entering them in dotnet.inc. The dotnet.inc include file is shipped with Silk Test Classic and we reserve the right to modify this file in future releases. If you modify dotnet.inc, you may have to integrate your changes into future versions of that file.
To record new classes:
Properties and methods for that class are displayed in the Record Class dialog box. Do not edit the tag name in the Tag text box. If you check Show all methods on the Record Class dialog box, you see a commented section called Other methods. Some methods are preceded by two slashes (//) and others are preceded by three slashes plus two asterisks (/// ** ). The methods that are preceded by "/// ** " cannot be called by Silk Test Classic; they are included only for reference purposes.
See winclass declaration and derived class for more details.
The Agent provides special handling for certain classes of objects. If your object is one of these types, but does not work correctly while you are testing your application, you will also need to class map the object after completing this procedure. For additional information, see Options for Non-Graphical Custom Controls.