</div> is not clickable at point (67, 90). Other element would receive the click


#1

Hello
i am new to Katalon studio , i have this error message when my script want to click on a button

1-30-2019 09:32:14 AM Test Cases/Create Career Edit GC

Elapsed time: 12,124s

Test Cases/Create Career Edit GC FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to click on object ‘Object Repository/Page_Theseos/Processus metier/Button transmit’ (Root cause: org.openqa.selenium.WebDriverException: unknown error: Element

is not clickable at point (67, 90). Other element would receive the click:

(Session info: chrome=70.0.3538.77)
(Driver info: chromedriver=2.43.600210 (68dcf5eebde37173d4027fa8635e332711d2874a),platform=Windows NT 6.1.7601 SP1 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: ‘LP-20172041’, ip: ‘10.5.50.102’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_181’
Driver info: com.kms.katalon.selenium.driver.CChromeDriver
Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.43.600210 (68dcf5eebde371…, userDataDir: C:\Users\STEIJ\AppData\Loca…}, cssSelectorsEnabled: true, databaseEnabled: false, goog:chromeOptions: {debuggerAddress: localhost:51427}, 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: 70.0.3538.77, webStorageEnabled: true}
Session ID: bd7a95632713dfad359d6b787867a58f)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)
at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.click(ClickKeyword.groovy:86)
at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:67)
at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:616)
at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$2.call(Unknown Source)
at Create Career Edit GC.run(Create Career Edit GC:39)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1548837132687.run(TempTestCase1548837132687.groovy:22)

i precise , my test ran on Chrome. I didn’t have this problem with IE .
i tried Wait for element Present , wait for element clickable but i have still the same problem.


Script runs sometimes - sometimes it doesn't run
#2

Please, read this for “Other element would receive the click” problem:

And the highest voted answer to this SO question:


#3

thanks for the answer . I solved my problem , i put a delay with 5 s and it works :grinning:.

But i wanted to try the point 4 : “Element is not clickable at point (x,x). Other element would receive the click…”:

but i have the following error : 01-30-2019 10:52:05 AM Test Cases/Career Edit GC - test

Elapsed time: 0,465s

Test Cases/Career Edit GC - test FAILED.
Reason:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/C:/Users/STEIJ/Desktop/Workspace/Release/Beldienst3/Preprod/Preprod/Scripts/Career%20Edit%20GC%20-%20test/Script1548841647408.groovy: 40: unable to resolve class WebElement
@ line 40, column 12.
WebElement element = webHelper.findWebElement(findTestObject(‘Page_Theseos/Processus metier/Button transmit’),30)
^

1 error

at com.kms.katalon.core.main.ScriptEngine.getScript(ScriptEngine.java:199)
at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:194)
at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:119)
at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:328)
at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:319)
at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:298)
at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:290)
at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:224)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:106)
at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:97)
at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)
at TempTestCase1548841923437.run(TempTestCase1548841923437.groovy:22)

here’s my script :
import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint
import com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile
import com.kms.katalon.core.model.FailureHandling as FailureHandling
import com.kms.katalon.core.testcase.TestCase as TestCase
import com.kms.katalon.core.testdata.TestData as TestData
import com.kms.katalon.core.testobject.TestObject as TestObject
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI
import com.kms.katalon.core.webui.common.WebUiCommonHelper as webHelper
import internal.GlobalVariable as GlobalVariable

WebUI.callTestCase(findTestCase(‘Common/Login Theseos’), [:], FailureHandling.STOP_ON_FAILURE)

WebUI.click(findTestObject(‘Page_Theseos/Select Workflow/Unfold Workflow’))

WebUI.setText(findTestObject(‘Page_Theseos/Select Workflow/input Workflow ID’), ‘6334193’)

WebUI.click(findTestObject(‘Page_Theseos/Select Workflow/Click Button Search’))

WebUI.click(findTestObject(‘Page_Theseos/Affect User/Click Button Dispatch’))

WebUI.click(findTestObject(‘Page_Theseos/Affect User/Unfold User’))

WebUI.click(findTestObject(‘Page_Theseos/Affect User/Select Axelle Cambier’))

WebUI.click(findTestObject(‘Page_Theseos/Affect User/Click Ok Collaborateur’))

WebUI.click(findTestObject(‘Page_Theseos/Select Niss/Identify Dossier’))

WebUI.setText(findTestObject(‘Page_Theseos/Select Niss/Fill Niss’), ‘59020104415’)

WebUI.click(findTestObject(‘Page_Theseos/Select Niss/Ok Niss’))

WebElement element = webHelper.findWebElement(findTestObject(‘Page_Theseos/Processus metier/Button transmit’),30)
WebUI.executeJavaScript(“arguments[0].click”, Arrays.asList(element))

WebUI.click(findTestObject(‘Page_Theseos/Processus metier/Click Next’))

WebUI.click(findTestObject(‘Page_Theseos/Processus metier/Select Creation’))

i am very new with katalon studio :grin:


#4

We have all been there. :smiley:

You will need to import

import org.openqa.selenium.WebElement

#5

thanks , i didn’t have problem of compilation ,but when i launched my script , i had the preceding problem.

I think i keep the delay with 5 s

thanks again