Getting Error

Hi
Is there any one who can help me out ?
Some time test case not run completely …

Error :

06-02-2018 03:02:06 PM - [FAILED] - Unable to click on object ‘Object Repository/Page_Point of Sale/button_Payment’ (Root cause: org.openqa.selenium.WebDriverException: unknown error: Element … is not clickable at point (329, 552). Other element would receive the click:

(Session info: chrome=66.0.3359.181)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DELLINSPIRON15R’, ip: ‘192.168.206.2’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\MAVENS~1\AppData\L…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 66.0.3359.181, webStorageEnabled: true}

Session ID: c83a5c8bedcc51693ae4fcb79c08a48a)

06-02-2018 03:02:06 PM - [FAILED] - Test Cases/New Test Case FAILED because (of) Unable to click on object ‘Object Repository/Page_Point of Sale/button_Payment’ (Root cause: org.openqa.selenium.WebDriverException: unknown error: Element … is not clickable at point (329, 552). Other element would receive the click:

(Session info: chrome=66.0.3359.181)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DELLINSPIRON15R’, ip: ‘192.168.206.2’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\MAVENS~1\AppData\L…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 66.0.3359.181, webStorageEnabled: true}

Session ID: c83a5c8bedcc51693ae4fcb79c08a48a)

The error is telling you that the HTML div element with class “freeze-message-container” would receive the click instead of the button button_payment the intended target.

Perhaps you have timing issue? Maybe sometimes the freeze-message-container div is moved out of the way quick enough and other it is not, giving you the error? It’s hard to figure the cause without more information.

1 Like

I have seen something similar in my applications when a Throbber (https://en.wikipedia.org/wiki/Throbber) pops up after a page loads, you probably need to use a WebUI.waitForElementClickable for element ‘Object Repository/Page_Point of Sale/button_Payment’