Back to Devexpress

Record Configuration Dialog

testcafestudio-400186-user-interface-record-configuration-dialog.md

latest3.7 KB
Original Source

Record Configuration Dialog

  • Mar 14, 2024
  • 2 minutes to read

The Record Configuration dialog displays settings that affect selector generation and test playback in recording mode.

To open the dialog, click the button next to the Record Browser drop-down menu in the main toolbar.

The Record Configuration dialog includes the following panes:

General

When you record new actions to an existing test, TestCafe Studio first replays the test’s existing actions. The settings in the General pane affect the playback of these actions.

OptionsDescriptionDefault
SpeedAction playback speed (0.011)1
Debug modeActivates the debug mode.Inactive
Disable native automtionUse the TestCafe Proxy , and not the Chrome DevTools Protocol , to automate browsers.Active

Timeouts

OptionsDescriptionDefault
Page load timeoutThe maximum time between the window.load event and the DOMContentLoaded event (ms).3000
AJAX request timeoutThe maximum AJAX request resolution time (ms).120000
Page request timeoutThe maximum page request resolution time (ms).25000
Selector timeoutThe maximum selector resolution time (ms).10000
Assertion timeoutThe maximum assertion resolution time. TestCafe retries assertions multiple times within the timeout window.3000

Selector Generation

The settings in the Selector Generation pane affect Selector generation rules. See Selector Priority for more information.

The Selector type list displays Selector types in order of priority. Click the icon to rearrange list items.

Click a Selector type to view its description. Disable the Use this selector type switch to exclude this Selector type from generated Selectors. For instance, you can disable the id attribute if your site uses dynamic IDs.

Note

You cannot disable the dom selector type.

Click the Add Custom Attribute button to add a Selector type with a custom attribute (for example, data-testid). When you add a new Selector type, TestCafe Studio adds it to the top of the list.

Click a custom attribute entry to change the attribute name. Click to remove a custom entry.

Note

You cannot create more than one selector type per attribute. You also cannot create custom selector types for id or class because TestCafe Studio has built-in selectors for these attributes.