Action Not Performed Correctly on the Object During Execution
Summary: The object is not identified correctly during execution, causing the action to be performed incorrectly or not performed on the intended element. This issue can occur during normal execution and Self Heal.
Error behavior
When this issue occurs, you may observe the following behavior:
The action is performed on an incorrect element.
The action is not performed on the intended element.
The object is identified correctly during capture but the action is performed incorrectly during execution.
The issue may occur during both normal execution and Self Heal.
Possible Reasons
This issue may occur due to one or more of the following reasons:
The captured object contains nested or inner elements, and the actual interactive control is an inner element, such as a link, button, or input.
The properties of the outer element are similar to those of other objects on the page, which may result in incorrect object identification.
The behavior may depend on the structure and implementation of the End User application and its User Interface elements.
Resolution/Solution
To resolve this issue, perform the following actions:
Hover over the object and identify the innermost or actual interactive element on which the action needs to be performed.
Recapture the object if required and ensure that the captured element corresponds to the actual link, button, input, or other interactive control.
Perform the required action on the inner element instead of the outer or container element.
Execute the test case again and ensure that the action is performed on the correct element.
Last updated