Resolving Incorrect Element Identification with Self-Healing
When Self Healing is enabled, later executions identify the Button instead of the Action Button. The first execution identifies and clicks the Action Button correctly.
The Action Button initially captured was using its existing attributes.
During later executions, Self Healing cannot uniquely identify the originally captured Action Button.
Self Healing identifies another element, the Button, as a match based on the available object properties.
Recapture the inner link of the Action Button instead of the parent Action element.
Update the Object Repository with the newly captured inner link.
Save the updated object properties.
Execute the automation script with Self Healing enabled.
Verify that the Action Button is identified and clicked correctly during execution.
Capturing the inner link provides a more specific element reference, so the script executes as expected when Self Healing is enabled.
Last updated