zk button using Watir generates error indicating no button is present -
i´m testing zk form, , want click button. zk code following:
<zk:button id="btnlogin" label="entrar" onclick="wndlogin.onlogin()" style="font-weight: bold; font-size:12px;" />
my watir code shown below:
browser.button.click
i have 1 button on page. when run script, error indicates button not exist on page.
i believe problem caused namespace - ie 'zk'. have been elements or attributes in namespace using css selectors:
browser.element(:css => 'zk\:button').click
note colon needs escaped.
Comments
Post a Comment