1 Reply Latest reply on Mar 20, 2010 4:02 PM by Roberto Bezzi

    how to test for a modal panel closed with Selenium

    Roberto Bezzi Newbie


      I'm testing my webapp with Selenium but I can't find a way to verify that a modal panel has been closed.

      The modal panel doesn't make any change to the originating page, so I can't check for a change there, but it may take some time to close or it may not close bacause of a validation error.

      I tried with waitForElementNotPresent with no luck. I have no idea about how testing a condition which implies the panel to disappear.

      Any hints?


      Thank you,