Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, windows and java based applications. Get your 30 day free trial.

Discuss your Sahi Pro usage patterns, best practices, problems and solutions. Help others solve their problems and seek help from the community when needed. If you need specific support on your application, please email support @ sahipro.com

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.