Forum Discussion

sakorn_s's avatar
sakorn_s
Occasional Contributor
11 years ago
Solved

Property checkpoint Condition 'cmpMatches' is incorrect

Whent i use Property checkpoint Condition 'cmpMatches' is can't check Expected value With brackets











 





 






  • Hi Sakorn,


     


    As the compared string contains brackets (Booked & Travelled), you cannot just use this string in the regular expression. TestComplete recognizes the brackets as a special symbol. Thus, the comparison may fail. You need to modify your regular expression.

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Sakorn,


     


    As the compared string contains brackets (Booked & Travelled), you cannot just use this string in the regular expression. TestComplete recognizes the brackets as a special symbol. Thus, the comparison may fail. You need to modify your regular expression.