Katalon Studio v5.8 - It's time for the all-new API testing experience
yeonhuha
Katalon Apprentice
08/10/2018

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[@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?
Upvote
Quote

Comments

  • Andrej Podhajský
    Katalon Evangelist
    08/10/2018
    hello,
    that xpath is insane... please share html snipplet with that object so we can try to propose better locator.
    Upvote
    Quote
Sign In or Register to comment.