Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.

Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com

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.