Unable to click a particular image in a web UI

Hi Team
We have tried to automate the Web UI where we have faced that a particular img has not been clicked properly eventhough we have entered correct xpath. How can we say a correct xpath is the same xpath has been working fine when we used selenium in eclipse IDE.
Added that we have used selenium code in katalon studio as well and it resulted the same.
Everyother thing in the particular page works fine. Except some other image available in the particular page,we are able to click it.

Please find the below screenshots for your reference.

Try using js instead to perform the click instead

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