- Print
- DarkLight
How do I resolve an error 'Unable to find an image match for the element selected during recording' ?
The Tap feature locates elements from the screen using their visual appearance. If the appearance of the target element changes significantly, Autify may fails to locate it.
In such cases, you can utilize the "Quick Element Update" feature to address the issue.
Steps for Correction
Select the step you want to fix on the test result screen and click the "Update Element" button.
Choose the correct element from the screenshot.
Click on "Update Selected Element."
With this, the correction is complete. Please rerun the test to ensure that it works as expected.
If the visual appearance of the target element changes frequently, it's also possible to search for elements based on the page source (XML) of the screen. In such cases, follow these steps to update the step:
Select the step you want to fix on the test result screen and click the "Update Element" button.
Click on the "Update Element (XPath)" button.
Select the target element from the left screenshot or the page source on the right.
Click on "Update Selected Element."
With this, the correction is complete. Please rerun the test to ensure that it works as expected. Subsequent test runs will select the element based on the page source, ignoring its visual changes.
Note: If the correct element is not displayed in the screenshot or the page source, the Quick Element Update feature cannot be used. In such cases, start recording from the scenario details screen and select the element.