I have a requirement where I need to get messages that are in page without formatting it.
Take below Scenario.
I have myStepPage which has a message "NonCompliantValue". The application has a message rule "NonCompliantValue" which formats the message to "This value is not compliant". I need to build a function that retrives the message without formatting it. the function should return "NonCompliantValue" and not "This value is not compliant". I am aware that there are several functions to retrieve error messages as formatted text (Eg: getMessagesAll). But I could not find any function to get a message without formatting. If needed, I can build a new java function to retrieve messages without formatting, but there's no JAVA function to retrieve messages without formatting as well. I reviewed below link to check if there's any function.