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.
Wait till alert appears
Hi All,
I want to wait till the alert /message box/till the
_span("Finalizing: Preparing and logging process summary"
appears in the screen.
Approximate time taken for alert to popup is around 15 min .
i tired using,
_wait(105600, _isVisible(_span("Finalizing: Preparing and logging process summary")));
or
_wait(10000, _lastAlert());
SAHI does not wait till then .
basically my requriement is :
1. Wait for Alert.
2. If appears , then print lastAert and say it is successful.
3. if fails , then print unsuccessful.
Could you please help me with this.
I want to wait till the alert /message box/till the
_span("Finalizing: Preparing and logging process summary"
appears in the screen.
Approximate time taken for alert to popup is around 15 min .
i tired using,
_wait(105600, _isVisible(_span("Finalizing: Preparing and logging process summary")));
or
_wait(10000, _lastAlert());
SAHI does not wait till then .
basically my requriement is :
1. Wait for Alert.
2. If appears , then print lastAert and say it is successful.
3. if fails , then print unsuccessful.
Could you please help me with this.