Katalon studio is showing com.kms.katalon.core.webui.exception.WebElementNotFoundException even when the xpath is showing correct in DOM structure.
KATALON STUDIO RESULT SCREENSHOT-
DOM structure Screenshot-
this issue is happening after salesforce summer release 24.the same xpath was working fine before.
is anyone facing the same issue?
1 Like
Hi there,
Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.
Thanks!
Can you do a quick test to your code to see if you have a latency issue? Before the statement that is throwing your WebElementNotFoundException, can you put:
WebUI.delay(5)
// Switch to iframe and then carry on with your code
WebUI.switchToFrame(findTestObject('CS_Lighting/CaseCommunication/ParentIFrame'), 10)
If your code does not have an issue afterwards, then you need to put in wait statements to slow your code down. If you still get an error, then we need to investigate further.