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.

Use of Regular Expression with Relational API's in SahiPro

Hello,

Please let me know, is it possible to use RE for passing CellName (identifier)?
If yes, then how to use regular expression for following:

_click(_label(0,_leftOf(_cell("CellName[2]"))));

The number in the square braces is changing dynamically after refreshing page.

*So, how should I concatenate the index number with "Cellname" using Regular Expression or any other method if possible.*


Please let me know if you have any doubts regarding my question.

Comments

Sign In or Register to comment.