Answered

'Self-healing procedure was triggered because of issue with direct usage of Selenium API' error for CLICK commands

 Hello, we have been seeing issues with CLICK commands where the step fails due to the following  'error' message...


Self-healing procedure was triggered because of issue with direct usage of Selenium API
XPath: "//div[@id='canSection']/div/div/div/h5/a[@href='#' and @aria-controls='canInfo']" was used to find "GMIIRedesign_AwardSummary_CAN.widget.CAN" element

... this is happening in Chrome and we are on PROOF 9.5.2.2224, it does not happen on all elements though.

We have been using the 'Execute_Javascript HALT arguments[0].click();' command instead to perform the step action but this is very annoying, and I don't even know if this is an error or just information.

Please assist. Thanks.

0
3 comments
Avatar
Joseph Hamdan

Hi Stephen,

This is a self-healing feature where if the element is intercepted or partially concealed by another element, a message gets displayed to indicate self-healing being activated and clicking proceeds as the user expects it to. Here's the article on this topic:
https://subject7.zendesk.com/hc/en-us/articles/4411602506135-Subject7-Self-Healing

Did the steps fail for you completely, or did they click ?

Regards,
Subject7 Team

0
Comment actions Permalink
Avatar
Stephen Akinpelumia

It failed.

0
Comment actions Permalink
Avatar
Joseph Hamdan

Hi Stephen,

Thanks for confirming. Could you please provide us with a test case, video of execution, logs or anything than can help us pin-point the issue you are having? Thank you.

Regards,
Subject7 Team

0
Comment actions Permalink

Please sign in to leave a comment.