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.
Message box is not displaying while recording
I'm trying to record script for an add account form. After entering username if the password field is left blank and submit it should show a popup message with text "Please enter password" and "OK" button.
With sahi pro v4.0 what i observed is it is not displaying the message box while recording.
With sahi os v3.5 while recording it is showing the message box, but the message box is not identified by the sahi controller. If click OK, it won't generate a script for that. During playback, it doesn't even show the popup msg.
There are so many such popup msgs in the app and this is happening with all popup msgs, so not able to generate script at all.
The website is developed using java script and ajax. The alert msg mentioned above is from java script.
OS is windows 2003 and browser is FF 3.6.24
With sahi pro v4.0 what i observed is it is not displaying the message box while recording.
With sahi os v3.5 while recording it is showing the message box, but the message box is not identified by the sahi controller. If click OK, it won't generate a script for that. During playback, it doesn't even show the popup msg.
There are so many such popup msgs in the app and this is happening with all popup msgs, so not able to generate script at all.
The website is developed using java script and ajax. The alert msg mentioned above is from java script.
OS is windows 2003 and browser is FF 3.6.24
Comments
http://sahi.co.in/forums/viewtopic.php?id=1233
and i saw this page which says alert msgs will not be displayed during playback.
http://sahi.co.in/w/_lastAlert
The prob i'm facing is even when recording also it is not displaying. (with sahi pro v4.0 only. with 3.5 it is showing during recording even though not showing during playback)
So even if i want to use _lastAlert()); function, i need to run the website in a different browser independently and find where the alerts are displayed, then add the alert message manually in the script(when using sahi pro v4.0).
Can you please confirm this is the expected behavior with sahi 4.0? bcs i'm confused as v3.5 is showing msg boxes during recording.
Regards,
Anoop
Regards,
Narayan