Hi Hugh, thanks for the reply.
Sadly this is no better on 1.9.1.rc1, and there's nothing obvious (to
me) in the debug log. Here's all the info I have on the radio button
that I'm trying to click on, that ultimately displays an OK/Cancel
dialogue box when selected:
<input name="Foo" id="rdoFoo_1" onclick="ConfirmFoo();"
type="radio" value="rdoFoo_1"/>
... and to elaborate on what I'm trying to run, this works fine using
Ruby1.8.6/Watir1.6.2:
browser.radio(:id, "rdoFoo_1").click_no_wait
hwnd = browser.enabled_popup(15)
if (hwnd)
popup = WinClicker.new
popup.makeWindowActive(hwnd)
popup.clickWindowsButton_hwnd(hwnd, "OK")
end
... this doesn't work (for me) using Ruby1.8.7/Watir1.9.1.rc1; where
the click doesn't seem to be registered, so no dialogue box appears:
browser.radio(:id, "rdoFoo_1").click_no_wait
browser.javascript_dialog.button('OK').click
A normal .click or .fire_event('onClick') successfully displays the OK/
Cancel dialogue box, but I then have seemingly no method of actioning
it without a '_no_wait' suffix.
Thanks,
Graham
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]