Verify text present action giving a exception related to body selector

Unable to verify text ‘My text to find’ is present (Root cause: org.openqa.selenium.NoSuchElementException: Unable to locate element: {“method”:“tag name”,“selector”:“body”}

Any toughts about what is happening? My application has a frameset and 2 frames inside, but none of the click/assign actions are giving me problems.

Yes it has, but other elements also has iframes and I’ve have recorded them without problems.

I’m gonna check that link, thanks.

Is your element located in an iframe? If so, you need to switch to the iframe first before interacting with that element.

Katalon Studio has an article how to deal with iframe in your case. You can take a look at it here ('Iframe issue and suggested solution’ section:

https://docs.katalon.com/display/KD/Solving+common+automation+problems+using+Katalon+Studio

1 Like