Nested exception while verifying element visible


I am facing an issue while verifying an object using the verify element visible command. My scripts looks like this:

def ispresent = WebUI.verifyElementVisible(findTestObject(‘Object Repository/monthageingrepobyuser/export/exporttoexcel’), FailureHandling.OPTIONAL)


Export to excel object looks like this:

using object spy, I am able to capture this object.
But while running the script I am receiving the following error:

2019-04-09 09:39:08.750 e[39mDEBUGe[0;39m e[36mtestcase.monthageingrepbyuser -e[0;39m e[39m6: ispresent = verifyElementVisible(findTestObject(“Object Repository/monthageingrepobyuser/export/exporttoexcel”), OPTIONAL)e[0;39m
2019-04-09 09:39:08.751 e[31mWARN e[0;39m e[36mc.k.k.core.testobject.ObjectRepository -e[0;39m e[39mCannot find test object with id ‘Object Repository/monthageingrepobyuser/export/exporttoexcel’ because of 'org.dom4j.DocumentException: Error on line 47 of document file:///D://projectpath/Object%20Repository/monthageingrepobyuser/export/ : The character sequence “]]>” must not appear in content unless used to mark the end of a CDATA section. Nested exception: The character sequence “]]>” must not appear in content unless used to mark the end of a CDATA section.'e[0;39m
2019-04-09 09:39:08.751 e[31mWARN e[0;39m e[36mc.k.k.core.testobject.ObjectRepository -e[0;39m e[39mTest object with id ‘Object Repository/’ does not existe[0;39m
2019-04-09 09:39:09.164 e[31mWARN e[0;39m e[36mc.k.k.core.keyword.internal.KeywordMain -e[0;39m e[39mUnable to verify object is visiblee[0;39m
2019-04-09 09:39:09.180 e[39mDEBUGe[0;39m e[36mtestcase.monthageingrepbyuser -e[0;39m e[39m7: println(ispresent)e[0;39m

Eventhough its a warning, katalon still not identifying the object even if its existing.

Any hint on this?



Any thoughts on this?


Can you please share your complete script - will be easier to tell once we see that

Unraveling what is going on here might prove quite difficult. But let’s at least try…

A CDATA section is an XML contrivance to allow inclusion of non-valid XML data in an otherwise valid XML context - typically, at least in an XHTML context, that means JavaScript code. And that’s exactly what is happening with your document: you can see it referenced in the text property of your object in your screen shot.

I can see the text property is deselected - did you try deleting it?