Set the shortcut key combination to pause recording and specify whether absolute values and mouse move actions are recorded.
Note: All the following settings are optional. Change these settings if they will improve the quality of your test methods.
Click
Silk4NET > Edit Options.
Click
the
Recording tab.
To set
Ctrl+Shift as the shortcut key combination to use to pause recording, check the
OPT_ALTERNATE_RECORD_BREAK check box.
By default,
Ctrl+Alt is the shortcut key combination.
To record absolute values for scroll events, check the
OPT_RECORD_SCROLLBAR_ABSOLUT check box.
To record mouse move actions for web applications, Win32 applications, and Windows Forms applications, check the
OPT_RECORD_MOUSEMOVES check box. You cannot record mouse move actions for child technology domains of the xBrowser technology domain, for example
Apache Flex and Swing.
If you record mouse move actions, in the
OPT_RECORD_MOUSEMOVE_DELAY text box, specify how many milliseconds the mouse has to be motionless before a
MouseMove is recorded.
By default this value is set to 200.
To record text clicks instead of
Click actions on objects where
TextClick actions usually are preferable to
Click actions, check the
OPT_RECORD_TEXT_CLICK check box.
To record image clicks instead of
Click actions on objects where
ImageClick actions usually are preferable to
Click actions, check the
OPT_RECORD_IMAGE_CLICK check box.
To define whether you want to record object map entries or XPath locators, select the appropriate recording mode from the
OPT_RECORD_OBJECTMAPS_MODE list:
Object map entries for new and existing objects. This is the default mode.
XPath locators for new and existing objects.
XPath locators for new objects only. For objects that already exist in an object map, the object map entry is reused. Choosing this setting enables you to create
object maps for the main controls of an AUT, and to persist these object maps while creating additional tests against the
AUT.
To resize the application under test (AUT) when a recording session starts, check the
OPT_RESIZE_APPLICATION_BEFORE_RECORDING check box.
This check box is checked by default, enabling the
Silk Recorder to display next to the AUT. When this check box is unchecked, the AUT and the
Silk Recorder might overlap.