Debug actions help troubleshoot your apps during test execution.
Corresponding TestCafe API method: t.debug().
debug action pauses test execution. During the pause, you can safely examine the page with developer tools. See the article on debugging for more information on the proper use of the
Set Test Speed
Corresponding TestCafe API method: t.setTestSpeed().
TestCafe executes page actions at max speed unless you explicitly change test execution speed. High test execution speeds save time, but can yield hard-to-follow test recordings. Lower test execution speeds let you follow complex page action sequences, which can be useful for debugging.
speed values between 0.01 and 1. The default
speed is 1 - the highest possible speed. Speed scales proportionally – a speed of
0.5 is two times slower than the highest possible speed.
Adjust the default test speed in the Advanced Options section of the Run configurations dialog. Use the
setTestSpeed action to change test execution speed on the fly.
|Test Speed||Number||Relative test speed. Maximum value:
Additional Debug Actions
Read the TestCafe framework debugging guide to learn about additional debugging actions and strategies.