Hi,

i have following html code for input type "*image*"

*<input type="image" src="/MyTestDemo/Images/add.png" value="Add New
Customer" data-bind="visible: IsAddAllowed,click: $root.AddNewCustomer"
class="ui-button">*

How can i perform click event on above?
i am trying the following but failing

*@browser.button(:src,"/MyTestDemo/Images/add/").click*
*@browser.button(:class => "ui-button").click*

Please

Thanks

-- 
-- 
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]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to