Welcome to the new Sahi Forums!
Unable to record action on popup window...
  • Hi,

    I am unable to record action on popup window. how to handle popup in SAHI.
    Exp. On screen there is a First name and Last name text box, If i enter only first name and click on Add button, system gives error message "Please enter Full Last Name" with "OK" button on pop up window.
    I tried to mouse hover on the window but sahi doesnt recognize this.

    I have used _lastAlert to get the message but how to click on "OK" button while playback.

    Please help.

    Thanks in Advance..
    Mohit
  • 1 Comment sorted by
  • Hi mohit198,

    Javascript alerts are handled well by Sahi.

    When a button is clicked and a alert box appears, Sahi silently acts as if "OK" was clicked on that dialog, without showing that dialog.

    Sahi does not display alerts during playback.

    Please go through the following link,

    http://sahi.co.in/w/_lastalert

    This might help you.

    Regards,
    Theeran.
  • Thanks Theeran
    Its working finr now

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter