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.
Date Validation
HI,
Can anyone please tell me how to validate date in sahi? I need to verify if the date on the screen is in mm/dd/yyyy format
Can anyone please tell me how to validate date in sahi? I need to verify if the date on the screen is in mm/dd/yyyy format
This discussion has been closed.
Answers
It is
_assertEqual(/^(0?[1-9]|[12][0-9]|3[01])\/(0?[1-9]|1[012])\/((19|20)[0-9][0-9])$/, _getText(_cell("vertical_value[18]")));