Selenium IDE v3.12.0 - assert alert stalling

505 views
Skip to first unread message

Bryan L

unread,
Jul 17, 2019, 7:15:03 PM7/17/19
to Selenium Users
I've always had issues with assert alert working via IDE either via the old pre-quantum or the new version. In the past (firefox 54.0.1 ide 2.9.1), I'd just use "storeConfirmation|gibberish1|" and that would consume the alert and I could then use js to verify what was stored if I even cared. Even if I didn't care about the alert, the store would at least consume it and let me continue.

But now I'm stuck and I can't get the new ide past a specific point. Unfortunately, I can't post the issue/test publicly as it's an internal website. I just thought I'd ask if perhaps there was an execute script or some other command I could try to just get through it. As it is, it gets to the "assertAlert|<actual alert text>|" and stalls.

Any help I could get would be greatly appreciated.

Dave Haeffner

unread,
Aug 28, 2019, 8:21:45 AM8/28/19
to Selenium Users
Hey Bryan,

Did you add the assert alert command by hand, or was it picked up by recording?

There are complimentary commands needed for this to work (e.g., chooseOkOnNextConfirmation or webdriverChooseOkOnVisibleConfirmation depending on your use case).



Cheers,
Dave H

Johnny Wu

unread,
Feb 11, 2021, 10:42:07 PM2/11/21
to Selenium Users
Hi, David:

I am running 3.17.  I have tried putting both the webdriver choose and choose ok BEFORE the Assert Alert, but no lucky.
Any advice as what I might have missed?

JWu

Reply all
Reply to author
Forward
0 new messages