Need to "Verify Element Text Not"

Currently, for my test I am trying to verify if an element of my page changed.

My test uses a seed to verify a fixed state of the page. For this, I verify a fixed text in an element of the page.

I need to test a new seed button in my page. Since the new seed will be essentially random, using a command like “Verify Element Text Not” would be the only way to verify this other just taking a failed step as an affirmative.

Possibly Assert plugin will be helpful for you

https://store.katalon.com/product/27/Assert-Keywords

This keyword provides some “verify something NOT” methods. For example, StringAssert#notEqual or StringAssert#notContain

https://plugin-docs.katalon.com/docs/assert-custom-keywords/kms/turing/katalon/plugins/assertj/StringAssert.html

1 Like

Use WebUI.verifyNotEqual

makeTO is available here

1 Like

Better answer, thank you, Russ

1 Like

Thank you very much. I feel silly I missed this because I looked through all the “verify element…” commands but didn’t look through just “verify…”.

1 Like