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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -