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 write regular expressions ?
In my project application , there is a tab named Project* where * indicates that there are some mandatory parameters that are to be entered. Once the Sahi script executes and fills in the mandatory field it gets saved as Project and then the script fails.
I have written a regular expression like _click(_span(/Project.*./)); but still it isnt working.
Kindly assist.
I have written a regular expression like _click(_span(/Project.*./)); but still it isnt working.
Kindly assist.
Answers
Please try using :
_click(_span("/Project/"));
Regards.