verifyMatch says two identical strings aren't matching

Test Cases/Asset Categories Search Verification FAILED because (of) Unable to verify match between actual text 'Vehicles not in the radius specified ’ and expected text ‘Vehicles not in the radius specified’ (Root cause: Actual text 'Vehicles not in the radius specified ’ and expected text ‘Vehicles not in the radius specified’ are not matched)

Why is this causing a failure as they are the exact same string?

Your actual text is

'Vehicles not in the radius specified '

You should beware of a single whitespace at the tail. On the other hand, your expected text is

'Vehicles not in the radius specified'

These two are NOT identical because of the trailing whitespace.

3 Likes