Perform a Class Mapping when a Declaration for a CustomWin Displays in the Record Window Declaration Dialog

This functionality is supported only if you are using the Classic Agent.

When a declaration for a CustomWin displays in the Record Window Declarations dialog box, perform the following steps:

  1. Press Ctrl+Alt. The declarations are frozen in the Window Declaration list box in the lower half of the Record Window Declarations dialog box.
  2. In the Window Declarations list box, click the line containing the declaration for the custom object. The line is highlighted and the declaration for the CustomWin displays in the Window Detail group box.
  3. In the Window Detail group box, click Class Map. The Class Map dialog box opens. The name of the custom class is displayed in the Custom Class text box.
  4. In the Standard Class field, enter the name of the built-in 4Test class to which you are mapping the custom class.
  5. Click Add. Silk Test Classic adds the class name.
  6. Click OK.
When you resume recording, the object has the standard 4Test class. If Silk Test Classic encounters a similar object, it automatically maps the object to the correct 4Test classes. You must modify any prerecorded declarations containing these objects to use the standard class.