Verify List got special character on this

Hi community i have an issue when create def Keyword for my test case the issue is can’t verify with value “Prev(m)” because this get the special character:
def MonthProperly () {
List Monthlist = [
for (int i = 0; i < Monthlist.size(); i++) {
WebUI.verifyElementText(findTestObject(‘General/ProperlyMonth’,[(‘item’):i+1]), MonthProperly[i])
KeywordUtil.markPassed(“The title header displayed”)

Please help me

Hi @tntanh1811, welcome to our community and thank you for your first post. Please be patient for the solution coming from our community experts. Enjoy your time here.

Hi @tntanh1811

I can’t make any sense of your MonthProperly() method as it is written. Could please explain what it is meant to achieve?

Also, what error messages are you seeing?

Lastly, please read this post for guidance.