Adjusting page interaction speed
The Unified Runner generally executes tests significantly faster than the Legacy Runner for Chrome. While this speed increase is usually helpful for receiving rapid feedback on test results, sometimes tests may fail if they do not handle timing gracefully. This could include instances where the page has not loaded or the state of an element has not changed yet.
However, if your application tends to run more slowly, or if there are considerable speed differences between environments, we offer the option to modify the page interaction speed for Unified test runs.
In most cases, mabl’s intelligent wait functionality should be able to adjust for timing during test execution. However, if a longer wait is needed, we recommend adding a wait until step before attempting to use this setting to ensure the application is in the correct state.
By default, all tests using the Unified Runner will execute with a Normal Page Interaction Speed. This provides moderate thresholds where mabl will wait to find an exact or a strong match for an element in your application. If you would like to reduce these thresholds, we offer a Fast page interaction speed. With our Intelligent Wait functionality, mabl develops an understanding of the timing of your test steps and will automatically adjust wait time.
There are two additional options, Slow and Slower, which add additional wait time after each step in your test. This setting can be modified at the environment level, which will apply to any Unified test runs associated with that environment.
This setting can be set at the plan level. By default, plans using the Unified Runner will inherit the settings associated with the chosen environment. However, the setting can be overridden for the specific plan.
Adjusting interaction speed in the CLI
mabl tests run --run-id 12jk1l4j21u3n2-jr --interaction-speed slow
The page interaction speed can also be specified for local runs through the mabl CLI using the --
Adjusting interaction speed in the desktop app
Interaction speed can be adjusted for local runs and trainer replay in the desktop app through the Preferences menu. These settings default to FAST and can be adjusted to NORMAL, SLOW, and SLOWER, as needed.
Updated about 1 month ago