How to run test case? (Run FAILED)

How to fix and run this script:

I record the script and run. Error message display:

Test Cases/Login page FAILED because (of) Unable to click on object ‘Object Repository/Page_Madison Island/a_Log In’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Page_Madison Island/a_Log In’ located by ‘By.xpath: //a[count(. | id(“header-account”)/div[@class=“links”]/ul[1]/li[@class=“last”]/a[1]) = count(id(“header-account”)/div[@class=“links”]/ul[1]/li[@class=“last”]/a[1])]’ not found)

Thanks, i do it. It run ok.

The error message is obvious: ‘Object is not found’. The reason is Katalon Studio can’t locate that object using the provided xpath

From my observation, this xpath is quite complicated so it will be an obstacle to locate an element. The better solution is to use unique property to identify element such as ‘id’ in this case