Hello. I’m a first time user and exploring with Katalon Recorder. Upon replaying my recorded testing, I stumbled on the issue to click on the menus from the side bar that is hidden but will show upon clicking.
I received an error:
"Unable to click on object 'Object Repository/Page_Home/a_Menu' (Root cause: org.openqa.selenium.WebDriverException: unknown error: Element <a class="navbar-minimalize" href="#">...</a> is not clickable at point (35, 103). Other element would receive the click: <div class="k-overlay"........"
I tried following the No. 4 step in this link: https://docs.katalon.com/katalon-studio/docs/troubleshooting-common-issues-related-to-interacting-with-an-element.html
However, the issue persists. Then I have tried the solution recommended in this link: Unable to click on Object, Other Element Would receive click - Katalon Studio - Katalon Community
The solution does not seem to direct to the page where I will be led to upon clicking on the link. From the clickUsingJS function, it seems like it simply just clicks on the link and moves on to the next one. Here are the records from console log:
11-22-2018 11:20:08 AM - [START] - Start action : waitForPageLoad
11-22-2018 11:20:08 AM - [INFO] - Checking timeout
11-22-2018 11:20:08 AM - [PASSED] - Wait for page load successfully
11-22-2018 11:20:08 AM - [END] - End action : waitForPageLoad
11-22-2018 11:20:08 AM - [START] - Start action : javaS.clickUsingjavaS.clickUsingJS
11-22-2018 11:20:08 AM - [INFO] - Finding Test Object with id 'Object Repository/Page_Home/a_Menu'
11-22-2018 11:20:08 AM - [INFO] - Checking timeout
11-22-2018 11:20:08 AM - [WARNING] - Timeout '0' is invalid. Using default page load timeout: '30'
11-22-2018 11:20:08 AM - [INFO] - Finding web element with id: 'Object Repository/Page_Home/a_Menu' located by 'By.xpath: id("side-menu")/li[@class="m-t"]/a[@class="navbar-minimalize"][count(. | //a[@href = '#' and (text() = 'Menu' or . = 'Menu')]) = count(//a[@href = '#' and (text() = 'Menu' or . = 'Menu')])]' in '30' second(s)
11-22-2018 11:20:08 AM - [INFO] - Found 1 web elements with id: 'Object Repository/Page_Home/a_Menu' located by 'By.xpath: id("side-menu")/li[@class="m-t"]/a[@class="navbar-minimalize"][count(. | //a[@href = '#' and (text() = 'Menu' or . = 'Menu')]) = count(//a[@href = '#' and (text() = 'Menu' or . = 'Menu')])]' in '30' second(s)
11-22-2018 11:20:08 AM - [PASSED] - javaS.clickUsingjavaS.clickUsingJS is PASSED
11-22-2018 11:20:08 AM - [END] - End action : javaS.clickUsingjavaS.clickUsingJS
11-22-2018 11:20:08 AM - [START] - Start action : javaS.clickUsingjavaS.clickUsingJS
11-22-2018 11:20:08 AM - [INFO] - Finding Test Object with id 'Object Repository/Page_Home/a_Security'
11-22-2018 11:20:08 AM - [INFO] - Checking timeout
11-22-2018 11:20:08 AM - [WARNING] - Timeout '0' is invalid. Using default page load timeout: '30'
11-22-2018 11:20:08 AM - [INFO] - Finding web element with id: 'Object Repository/Page_Home/a_Security' located by 'By.xpath: id("side-menu")/li[9]/a[1][count(. | //a[@title = 'Security' and @href = '#' and (text() = ' Security' or . = ' Security')]) = count(//a[@title = 'Security' and @href = '#' and (text() = ' Security' or . = ' Security')])]' in '30' second(s)
11-22-2018 11:20:15 AM - [INFO] - Found 1 web elements with id: 'Object Repository/Page_Home/a_Security' located by 'By.xpath: id("side-menu")/li[9]/a[1][count(. | //a[@title = 'Security' and @href = '#' and (text() = ' Security' or . = ' Security')]) = count(//a[@title = 'Security' and @href = '#' and (text() = ' Security' or . = ' Security')])]' in '30' second(s)
11-22-2018 11:20:15 AM - [PASSED] - javaS.clickUsingjavaS.clickUsingJS is PASSED
11-22-2018 11:20:15 AM - [END] - End action : javaS.clickUsingjavaS.clickUsingJS
11-22-2018 11:20:15 AM - [START] - Start action : javaS.clickUsingjavaS.clickUsingJS
11-22-2018 11:20:15 AM - [INFO] - Finding Test Object with id 'Object Repository/Page_Home/a_User'
11-22-2018 11:20:15 AM - [INFO] - Checking timeout
11-22-2018 11:20:15 AM - [WARNING] - Timeout '0' is invalid. Using default page load timeout: '30'
11-22-2018 11:20:15 AM - [INFO] - Finding web element with id: 'Object Repository/Page_Home/a_User' located by 'By.xpath: id("85f3ceff-034a-4d59-adf4-778283df1033")[count(. | //a[@title = 'User' and @href = '/externaluser/userlisting_external' and @id = '85f3ceff-034a-4d59-adf4-778283df1033' and (text() = 'User ' or . = 'User ')]) = count(//a[@title = 'User' and @href = '/externaluser/userlisting_external' and @id = '85f3ceff-034a-4d59-adf4-778283df1033' and (text() = 'User ' or . = 'User ')])]' in '30' second(s)
11-22-2018 11:20:15 AM - [INFO] - Found 1 web elements with id: 'Object Repository/Page_Home/a_User' located by 'By.xpath: id("85f3ceff-034a-4d59-adf4-778283df1033")[count(. | //a[@title = 'User' and @href = '/externaluser/userlisting_external' and @id = '85f3ceff-034a-4d59-adf4-778283df1033' and (text() = 'User ' or . = 'User ')]) = count(//a[@title = 'User' and @href = '/externaluser/userlisting_external' and @id = '85f3ceff-034a-4d59-adf4-778283df1033' and (text() = 'User ' or . = 'User ')])]' in '30' second(s)
11-22-2018 11:20:15 AM - [PASSED] - javaS.clickUsingjavaS.clickUsingJS is PASSED
11-22-2018 11:20:15 AM - [END] - End action : javaS.clickUsingjavaS.clickUsingJS
11-22-2018 11:20:15 AM - [START] - Start action : click
11-22-2018 11:20:15 AM - [NOT_RUN] - NOT_RUN: click
11-22-2018 11:20:15 AM - [END] - End action : click
11-22-2018 11:20:15 AM - [START] - Start action : click
11-22-2018 11:20:15 AM - [NOT_RUN] - NOT_RUN: click
11-22-2018 11:20:15 AM - [END] - End action : click
11-22-2018 11:20:15 AM - [START] - Start action : click
11-22-2018 11:20:15 AM - [NOT_RUN] - NOT_RUN: click
11-22-2018 11:20:15 AM - [END] - End action : click
11-22-2018 11:20:15 AM - [START] - Start action : click
11-22-2018 11:20:15 AM - [NOT_RUN] - NOT_RUN: click
11-22-2018 11:20:15 AM - [END] - End action : click
11-22-2018 11:20:15 AM - [START] - Start action : Statement - element = com.kms.katalon.core.webui.common.WebUiCommonHelper.findWebElement(com.kms.katalon.core.testobject.ObjectRepository.findTestObject(Page_Home/a_User), 30)
11-22-2018 11:20:15 AM - [NOT_RUN] - NOT_RUN: Statement - element = com.kms.katalon.core.webui.common.WebUiCommonHelper.findWebElement(com.kms.katalon.core.testobject.ObjectRepository.findTestObject(Page_Home/a_User), 30)
11-22-2018 11:20:15 AM - [END] - End action : Statement - element = com.kms.katalon.core.webui.common.WebUiCommonHelper.findWebElement(com.kms.katalon.core.testobject.ObjectRepository.findTestObject(Page_Home/a_User), 30)
11-22-2018 11:20:15 AM - [START] - Start action : executeJavaScript
11-22-2018 11:20:15 AM - [NOT_RUN] - NOT_RUN: executeJavaScript
11-22-2018 11:20:15 AM - [END] - End action : executeJavaScript
11-22-2018 11:20:15 AM - [START] - Start action : waitForElementVisible
11-22-2018 11:20:15 AM - [NOT_RUN] - NOT_RUN: waitForElementVisible
11-22-2018 11:20:15 AM - [END] - End action : waitForElementVisible
11-22-2018 11:20:15 AM - [START] - Start action : closeBrowser
11-22-2018 11:20:15 AM - [INFO] - Closing browser
11-22-2018 11:20:16 AM - [PASSED] - Browser is closed
11-22-2018 11:20:16 AM - [END] - End action : closeBrowser
Anyone has experience of testing on case that requires selecting menus from side bar? Or similar experience to this issue? Please kindly share your solution with me. Thank you!