Setting Recording Options for the Classic Agent

This functionality is supported only if you are using the Classic Agent. For additional information, refer to the Silk Test Classic Classic Agent Help.

You can set the recording options to optimize recording with the Classic Agent in the following two ways:
  • In the Recorder Options dialog box.
  • Within a script, by using the SetOption method.

Using SetOption overrides the value specified for the option in the Recorder Options dialog box. If you do not set an option with SetOption, the value specified in the Recorder Options dialog box is the default.

To set the recording options in the Recorder Options dialog box, perform the following actions:

  1. Click Options > Recorder. The Recorder Options dialog box opens.
  2. To set Ctrl+Shift as the shortcut key combination to use to pause recording, check the Change hotkey to Ctrl+Shift check box. By default, Ctrl+Alt is the shortcut key combination.
  3. To record the tags that are specified in the Record Window Declarations Options dialog box, check the Record multiple tags check box. If checked, Silk Test Classic records multiple tags whenever recording. If this check box is disabled, see the description of the multiple tags agent option.
    Note: If you change the setting for Record Multiple Tags here, the check box on the Record Window Declarations Options dialog box is automatically updated.
  4. To add new declarations to the INC file during recording, check the Auto Declaration check box.
  5. To verify the test application using properties instead of attributes, check the Verify using properties check box. This option is checked automatically if you have enabled enhanced support for Visual Basic. This feature requires properties for verification. You cannot uncheck the Verify using properties check box without disabling enhanced support for Visual Basic.
  6. Specify the file that contains the definitions for the used property sets in the Data file for property sets field.
  7. To record events at a lower level for selected controls, check the corresponding check boxes in the Recorded Events list. For example, you might want to record a click in a check box, instead of recording an actual selection. If you specify that you want to record only low-level events in check boxes, Silk Test Classic records something like the following when you select a check box: Find.CaseSensitive.Click (1, 41, 10). If you are using a high-level event, Silk Test Classic records something like the following: Find.CaseSensitive.Check ().
  8. Uncheck the Ignore mouse move events check box to record mouse movements. If this check box is unchecked, Silk Test Classic records mouse movements that cannot be built into higher-level actions and that occur while a mouse button is pressed. Leave this check box checked unless you are testing an application, such as a drawing application, where mouse movements themselves are significant.
  9. To record mouse movements that cannot be built into higher-level actions and that occur while a mouse button is pressed when you select the Record Testcase and Record Actions commands, uncheck the Ignore mouse move events check box. Leave the check box checked unless you are testing an application where mouse movements themselves are significant.
  10. Uncheck the Don't record BeginDrag/EndDrag check box to record BeginDrag and EndDrag methods when you press a mouse button on an object and do a drag operation on a listview, treeview, or list box.
  11. Click OK.