Verify all links FAILED

I’m running this code:

WebUI.verifyMatch(url, urlCurrent, true)

It works until it gets to the URL that looks like this: reset-password?referrer=%2F

Here’s the error:

Verify all links FAILED.
com.kms.katalon.core.exception.StepFailedException: Actual text ‘reset-password?referrer=%2F’ and expected text ‘reset-password?referrer=%2F’ are not matched using regular expression
at com.kms.katalon.core.keyword.builtin.VerifyMatchKeyword$_verifyMatch_closure1.doCall(VerifyMatchKeyword.groovy:57)


It looks like these “match” but not the way Katalon expects them to. Any ideas?

The regex parser is probably stumbling on the “?”.

Can’t you match without setting isRegex to true?

That worked. Thanks!

1 Like