Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

unable to automate using sahi

Hi

windows popup dialog ,unable to automate using sahi
"This page is asking you to confirm that you want to leave - data you have entered may not be saved."
with two buttons "Leave this page" and "Stay on this page".

i tried mentioned in "http://sahipro.com/alldocs/v5.1.2/faq/misc-questions.html";

and also

_sahi._typeNativeKeyCode(java.awt.event.KeyEvent.VK_SPACE);

in Sahi 6 version,

http://sahipro.com/alldocs/v6.0.0/sahi-apis/action-apis.html#_clickNative

how to use api in my scenario ,

in my application , after click on exit button, the popup will appear

_click(_button(" x-btn-text msai_exit_icon"));
_clickNative(_button(" x-btn-text msai_exit_icon"),["SPACE"]);

i tried like this no use.


Sign In or Register to comment.