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 verify last to last confirm message using _lastConfirm()
Hi,
How to verify last to last confirm message using _lastConfirm()?
This is because in application there are two confirmation message one after another.
Like: clicking on Ok on first confirm message gives another confirmation message.
Please help!!!
regards,
Mohit
How to verify last to last confirm message using _lastConfirm()?
This is because in application there are two confirmation message one after another.
Like: clicking on Ok on first confirm message gives another confirmation message.
Please help!!!
regards,
Mohit
Comments
look if that solves your issue
http://sahi.sourceforge.net/apis.html#confirm
Regards
Wormi
Thanks for reply.
In case of one confirm message its working fine, but in my case there are two confirmation messages in sequence.
Click on submit
1st confirmation message (By default sahi click on Ok)
2nd confirmation message
when i check for _lastConfirm(); it gives me 2nd confirmation message only.
My question is to how to get 1st confirmation message.
Regards,
Mohit
_lastConfirm() returns only the last confirm box message and it is not possible to get the 1st confirmation box message in above mentioned scenario.
Regards,
Theeran.