Edit not working

I am trying to record by clicking on an edit image. Katalon records it as a path with no id. I have used different xpaths and ids using chropath, but nothing works.
image
/html/body/div[2]/div/div/app-root/div/order-detail/overlay-spinner/div/div/div[2]/div/div[2]/app-delivery-info-menu-sidebar/div/div[2]/div/div[1]/div/a/fa-icon/svg



Thanks for looking.

Try the following before clicking:

[WebUI] Wait For Element Visible | Katalon Docs

Try Enhanced click instead of click:

[WebUI] Enhanced Click | Katalon Docs

Thanks Dave for looking. I tried enhanced click and wait for element visible. No luck. Its not clicking the edit icon at all.
Caused by: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Edit delivery address/Page_Online Ordering/path’ located by ‘/html/body/div[2]/div/div/app-root/div/order-detail/overlay-spinner/div/div/div[2]/div/div[2]/app-delivery-info-menu-sidebar/div/div[2]/div/div[1]/div/a/fa-icon/svg’ not found.

Script:
WebUI.waitForElementVisible(findTestObject(‘Edit delivery address/Page_Online Ordering/path’), 5)

WebUI.enhancedClick(findTestObject(‘Object Repository/Edit delivery address/Page_Online Ordering/path’))

Got this working by selecting CSS from Firefox. Thanks.

1 Like