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.
Partial assert on value inside an Input text box
There is a input text box field, which has a value in read only mode...
I wish to put an partial assert on this value (value resides inside the input text box)...
Please suggest an solution for this...ASAP
I wish to put an partial assert on this value (value resides inside the input text box)...
Please suggest an solution for this...ASAP
Comments
Try using:
if(_condition(_texbox("ID").value == /your partial text/))
_log("Success message", "success");
else
_log("Failur Message", "failure");
You can use similar logic in assertions also.
Regards,
Pankaj.