# Troubleshooting common issues related to interacting with an element

**URL:** <https://forum.katalon.com/t/troubleshooting-common-issues-related-to-interacting-with-an-element/16661>\
**Category:** Miscellaneous\
**Created:** [January 4, 2019, 9:24am UTC](https://forum.katalon.com/t/troubleshooting-common-issues-related-to-interacting-with-an-element/16661 "2019-01-04T09:24:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [January 4, 2019, 9:24am UTC](https://forum.katalon.com/t/troubleshooting-common-issues-related-to-interacting-with-an-element/16661/1 "2019-01-04T09:24:10Z")

</div>

* * *
This is a companion discussion topic for the original entry at [https://docs.katalon.com/katalon-studio/docs/troubleshooting-common-issues-related-to-interacting-with-an-element.html](https://docs.katalon.com/katalon-studio/docs/troubleshooting-common-issues-related-to-interacting-with-an-element.html)

---

<div class="post-metadata">

**Author:** ![agarcia](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/agarcia/32/16104_2.png) [@agarcia](https://forum.katalon.com/u/agarcia)\
**Post date:** [June 21, 2019, 1:41pm UTC](https://forum.katalon.com/t/troubleshooting-common-issues-related-to-interacting-with-an-element/16661/2 "2019-06-21T13:41:13Z")

</div>

Hi, is there something missing here? I used this but there was an error. I will be posting the link for the said error…

> ```auto
> import com.kms.katalon.core.webui.common.WebUiCommonHelper
>  
> WebElement element = WebUiCommonHelper.findWebElement(findTestObject('your/object'),30)
> WebUI.executeJavaScript("arguments[0].click",
> 
> ```

---

<div class="post-metadata">

**Author:** ![agarcia](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/agarcia/32/16104_2.png) [@agarcia](https://forum.katalon.com/u/agarcia)\
**Post date:** [June 21, 2019, 1:49pm UTC](https://forum.katalon.com/t/troubleshooting-common-issues-related-to-interacting-with-an-element/16661/3 "2019-06-21T13:49:53Z")

</div>

Here’s the topic link:

[http://forum.katalon.com/t/katalon-test-scripts-executed-in-jenkins-did-not-finish-successfully-even-all-test-scripts-were-executed-jenkins-showing-spinner-only-no-error-displayed/27886](http://forum.katalon.com/t/katalon-test-scripts-executed-in-jenkins-did-not-finish-successfully-even-all-test-scripts-were-executed-jenkins-showing-spinner-only-no-error-displayed/27886)

---

<div class="post-metadata">

**Author:** ![fap](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/fap/32/23869_2.png) [@fap](https://forum.katalon.com/u/fap)\
**Post date:** [October 10, 2019, 10:45am UTC](https://forum.katalon.com/t/troubleshooting-common-issues-related-to-interacting-with-an-element/16661/4 "2019-10-10T10:45:21Z")

</div>

WebElement element = WebUiCommonHelper.findWebElement(findTestObject(‘Object Repository/edit mezzo/Page\_C Dettaglio mezzo/span\_Salva\_btn-label float-left’),30)  
WebUI.executeJavaScript(“arguments[0].click”, Arrays.asList(element))

I used this, but when I run the test the “click” step is skipped and goes to the next step

---

<div class="post-metadata">

**Author:** ![digbijoy.das](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@digbijoy.das](https://forum.katalon.com/u/digbijoy.das)\
**Post date:** [February 11, 2020, 10:00pm UTC](https://forum.katalon.com/t/troubleshooting-common-issues-related-to-interacting-with-an-element/16661/5 "2020-02-11T22:00:18Z")

</div>

We are facing very similar issues as the element sometimes not loading . We used couple of options of delay but it works intermittently, on Debug mode it works fine.

Is there any concrete approach which will work always. Appreciate your response

**Error** -

Failed to click on the element with xPath[//div[@class=‘divTable’]//\*[contains(.,‘Selena’) and contains(.,‘Blaze’)]//ancestor::div[@class=‘enrollment-group’]//ancestor::div[@class=‘box-header’]//input[@id=‘findPlan’]] after exausted attempts of 3 retries.
