Visual Testing Execution
Last updated
Last updated
Visual Testing allows the user to test their application layout with visual regression.
Visual testing can be enabled in the Test Execution menu. Currently, only Visual Regression testing is available.
Navigate to the Test Execution Page in mobility.
Select/enter app details.
Select a device to execute test.
Click the “Visual Regression” toggle button.
Once enabled, previous executions of the script on the same device from Step 3_ will appear
If no baseline executions are found, refer to the baseline requirements here
If the “Visual Regression” toggle stays disabled, refer to the conditions below.
Select a baseline execution.
Click "Execute Test" button.
There will also be accessibility options for visual testing coming soon.
Visual Testing is only available for single, non-parameterized script executions.
A baseline is a previous test execution on the current version of the test script on the same device
Modifying a test script will invalidate any previous basline executions. An execution must be run after the test script was last modified to be considered a baseline
Only one device can be selected for Visual Testing.
If a device pool is being used, it must only have one device or Visual Testing will be disabled.
Using first available device is not an issue as long as the device pool only contains one device. However, if first available device is selected with no device pool, Visual Testing will be disabled.
The current device must have the same device ID/name as the baseline execution.
For information on viewing the report of a Visual Test, please click here.
If these requirements are met, Visual Testing options will appear like below.