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.
Unable to record action on popup window...
Hi,
I am unable to record action on popup window. how to handle popup in SAHI.
Exp. On screen there is a First name and Last name text box, If i enter only first name and click on Add button, system gives error message "Please enter Full Last Name" with "OK" button on pop up window.
I tried to mouse hover on the window but sahi doesnt recognize this.
I have used _lastAlert to get the message but how to click on "OK" button while playback.
Please help.
Thanks in Advance..
Mohit
I am unable to record action on popup window. how to handle popup in SAHI.
Exp. On screen there is a First name and Last name text box, If i enter only first name and click on Add button, system gives error message "Please enter Full Last Name" with "OK" button on pop up window.
I tried to mouse hover on the window but sahi doesnt recognize this.
I have used _lastAlert to get the message but how to click on "OK" button while playback.
Please help.
Thanks in Advance..
Mohit
Comments
Javascript alerts are handled well by Sahi.
When a button is clicked and a alert box appears, Sahi silently acts as if "OK" was clicked on that dialog, without showing that dialog.
Sahi does not display alerts during playback.
Please go through the following link,
http://sahi.co.in/w/_lastalert
This might help you.
Regards,
Theeran.
Its working finr now