18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Case insensitive assertion in sahi

How can we achieve asserting text by ignoring case (upper/lower)
for e.g:
_assert(_isVisible(_cell("The user(s) ));
The above assertion will fail when the text is "the User(s)"

The assertion should return True even if the text is "the User(s)" ? is there any way to achieve the case insensitive assertion?

Answers

  • In userdata.properties, add sahi.accessor.ignore_case=true and save your changes. That disables checking for upper/lower case in all scripts.
  • Paul, is this supported in Sahi Open Source version as well?
Sign In or Register to comment.