Recording Actual Delays Between User Actions

Applies to TestComplete 15.20, last modified on January 19, 2022

By default, TestComplete plays back a test faster than it was recorded. This speeds up automated testing. In some cases, you may want TestComplete to play back tests at the same speed they were recorded. To achieve this, you need to record the actual delays between user actions.

To record delays between user actions, enable the Real-time mode option. In this mode, TestComplete captures the actual time between user actions during recording. Then TestComplete converts these delays into calls to the aqUtils.Delay method (in scripts) or to the Delay operation (in keyword tests).

If you are testing a desktop application, you can record a low-level procedure. In low-level recording, TestComplete registers only mouse and keyboard events, namely, mouse clicks, keyboard events, mouse movements and mouse wheel events. Also, TestComplete registers the time delay between these events. So, the delays between user actions will be reproduced correctly. However, low-level procedures use coordinate-based recording rather than object-based. So, if the application under test has changed its window size or layout of controls, the low-level procedure may fail to reproduce the user actions.

See Also

Recording Automated Tests
Recording Options Dialog
Keyword Tests
Testing Applications in Low-Level Mode

Highlight search results