[WS] Verify Element Text

This is a companion discussion topic for the original entry at https://docs.katalon.com/katalon-studio/docs/ws-verify-element-text.html

hi, i tried to send this keyword :

WS.verifyElementText(response_createAgenda, ‘content.test.location’, " A City")

but i got err :

Unable to verify element text (Root cause: groovy.lang.MissingMethodException: No signature of method: java.lang.String.text() is applicable for argument types: () values: []

I would argue that users should not use this WS.verifyElementText keyword for XML response. This keyword is very likely to confuse you. I wrote my opinion in the following post.