18 January 2026:


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.

Sahi popup window

Tanna1Tanna1 Members
edited August 2013 in Sahi - Open Source
Hi,
Can anyone please tell me how to deal with html pages as popus? sahi is not able to recognize them..

Answers

  • Hi Tanna,
    Can you elaborate on what your problem is, exactly?

    If it is the general idea regarding how popups work with Sahi, please search the forums for already existing discussion, many of which are related to working with html page popups through Sahi.

    They should help you out.

    Regards.
  • Hi tanna,

    If it is like a alert kind of popup, this may help you

    _assertEqual('<alert message>', _lastAlert());

    If you still facing the problem, if possible share your Application Credentials.

    Regards,
    Venkatesh_highradius
  • its an internal application.. its not an alert.. I will tell you the 2 kinds of popups:

    1) onclick="javascript:LoginClear(document.Login)"

    2)onclick="Javascript:openWindow('../SECURITY/PCSEC_PROCESS.jsp')"


    If it is the 2nd case, the window opens as the name is visible in the code.. But the window which comes due to 1st case is not recognised.

    I cannot give the URL as it is an internal application
Sign In or Register to comment.