18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
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.
How to use Regular Expression in a single line for different field.
_assertEqual("Home About Settings Organisation Roles User Work Flow Module" _getText(_row(6)));
For this step I want to use regular expression in multiple field.
In this case I want to assert only Organisation.And rest of the part can change .I have tried with
_assertEqual("/.* Organisation /" _getText(_row(6)));
But it is not working,Can anyone help me.
Regards
sujata
For this step I want to use regular expression in multiple field.
In this case I want to assert only Organisation.And rest of the part can change .I have tried with
_assertEqual("/.* Organisation /" _getText(_row(6)));
But it is not working,Can anyone help me.
Regards
sujata
Comments
This will work.
_assertEqual("/.* Organisation .*/" _getText(_row(6)));
If you just want to test if the cell contains "Organisation", use
You could also use,
I would suggest you establish a UI relation to fetch the content of the cell like in the first case.
Regards,
dkulkarni