How to solve this problem

Test Cases/genie_test_case FAILED because (of) Unable to click on object ‘Object Repository/Page_KEB/a_Knowhow()’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page_KEB/a_Knowhow()’ located by ‘By.xpath: id(“gnb”)/ul[@class=“depth1”]/li[@class=“right-open on”]/ul[@class=“depth2”]/li[@class=“on”]/a[1][count(. | //a[@href = ‘#//HanaBank’ and @onclick = concat(‘pbk.web.util.goGnbMenu(’ , "’" , ‘/cont/mall/mall05/index.jsp?_menuNo=98770’ , “'” , ‘);return false;’)

realhomepage can click this object. But TC can’t click this… what is the reason??howto solve this problem?

that xpath is insane… please share html snipplet with that object so we can try to propose better locator.