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.
Recording on web page pop up window
Hi,
Sahi controller doesnt recognize web page pop up windows. Say in a login page when you enter an incorrect password, the web page throws an error message in a pop up window and then you click on ok button. The click on Ok button is not recorded in Controller.
Also, during playback of the incorrect password scenario, the pop up window (that was displayed while recording) is not being displayed during playback.
Is there a way to record and assert these web page pop ups?
Sahi controller doesnt recognize web page pop up windows. Say in a login page when you enter an incorrect password, the web page throws an error message in a pop up window and then you click on ok button. The click on Ok button is not recorded in Controller.
Also, during playback of the incorrect password scenario, the pop up window (that was displayed while recording) is not being displayed during playback.
Is there a way to record and assert these web page pop ups?
Comments
You will have to use: _expectConfirm($label, true);
For more Details: http://sahi.co.in/w/_expectConfirm
Let me know if you face any problem.
Regards
Sumitra