WebDriverException in dismiss_alert()
New to SST, so this could be operator error. I'm getting a WebDriverException when I do a dismiss_alert() or accept_alert(). If I wrap the dismiss_alert() in a try/except, the alert is dismissed and the test runs fine.
HTML fragment:
<input type="button" id="aaa_button" value="click"
onclick=
/>
SST fragment:
click_
dismiss_alert()
Traceback is below.
I'd be glad to raise a bug if this looks like an SST bug and not a newbie bug :)
Thanks.
-- Jeff
=======
ERROR: test_SST_aaa (sst.runtests.
-------
Traceback (most recent call last):
File "C:\Python26\
exec self.code in context
File "C:\Zope\
T_aaa.py", line 19, in <module>
dismiss_alert()
File "C:\Python26\
rt
_alert_
File "C:\Python26\
on
window_handle = browser.
File "C:\Python26\
ine 455, in current_
return self.execute(
File "C:\Python26\
ine 153, in execute
self.
File "C:\Python26\
, line 147, in check_response
raise exception_
WebDriverException: Message: u'Modal dialog present'
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Jeff Kunce for more information if necessary.