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 wait function in sahi
we have our own framework for our appln & we are using sahi as automation tool.
_setValue(_textbox("LexIy"), "22");
objectname objecttype action, value
LexIy textbox setvalue 22
how to implement wait statement _wait(1000); for such kind of framework as it just has action & value in our case.
_setValue(_textbox("LexIy"), "22");
objectname objecttype action, value
LexIy textbox setvalue 22
how to implement wait statement _wait(1000); for such kind of framework as it just has action & value in our case.
Comments
Sahi has a implicit wait function which waits till the previous step is completed, is there any specific reason to add a explicit wait function.
Regards
Sumitra
Thanks for your reply.
Yes we want to add explicit wait in our scripts as sometimes scripts fails since default wait is not sufficient for object to pop up
If you have to, why don't you add a wait as another action in your framework?
objectname objecttype action, value
LexIy textbox setvalue 22
wait 1000
Regards
Sumitra