c# - WatiN ie9 confirm dialog is not working -
possible duplicate:
watin & ie9 - cant click ok buttons
var dialoghandler = new watin.core.dialoghandlers.confirmdialoghandler(); using (new watin.core.dialoghandlers.usedialogonce(browser.dialogwatcher, dialoghandler)) { browser.button(find.byid("btnsave")).clicknowait(); dialoghandler.waituntilexists(); }
it's not working on ie 9, javascript confirm use latest version 2.1
confirmdialoghandler confirmhandler = new confirmdialoghandler(); using (new usedialogonce(browser.dialogwatcher, confirmhandler)) { confirmhandler.waituntilexists(); confirmhandler.cancelbutton.click(); }
it works on ie7, not on ie 9 drunkenmonkey's answer not working
watin-2.1.0.1196
Comments
Post a Comment