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.
Script to change Static information into Dynamic for testing.
Hello,
I need a script to verify the static information where the dynamic and static information are together in a text box. For example "200 Ratings" is a text box where the 200 is dynamic and Ratings is static. Is there a script where Sahi ignores the dynamic part and validates the static part.
Thanks
I need a script to verify the static information where the dynamic and static information are together in a text box. For example "200 Ratings" is a text box where the 200 is dynamic and Ratings is static. Is there a script where Sahi ignores the dynamic part and validates the static part.
Thanks
Comments
you can try the match function like _assertTrue($text.match("static text")) or _assertTrue($text.match(/RegularExpression/))