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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -