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.

Popup just hangs for a very long time!

gurudevgurudev Members
edited November -1 in Sahi - Open Source
Hi,

I tried to script a simple window open example application and it worked fine. But when I try it on my application any command involving the popup hangs for a very long time. Also i guess there is no error propagation in case of popups. Was debugging a little and looks like the markdone never gets called!

Regards,
Gurudev.

Comments

  • narayannarayan Administrators
    Does the name of window change?
  • nope. I also tried putting waits before accessing any popup elements, but was useless.
  • narayannarayan Administrators
    Gurudev,

    Please email me and we can discuss this further and figure out why it is failing for you.

    Regards,
    Narayan
  • Hi Narayan,

    The problem seems to be when I try to access the popup command from the java driver using Browser.
    When I use the same command through sahi script, it works fine. Any pointers on what could be wrong?

    the effective sahi command when using java Browser class.
    step=_sahi._popup("textModulePopUp")._sahi._click(_sahi._div(21))

    Similar command if run through sahi script it works!
    _popup("textModulePopUp")._click(_div(21))
Sign In or Register to comment.