<div class="clear"></div>

            <div class="buttonholder">

              <div class="btnleft"></div>

              <input name="addbutton" value="Add" onclick="AddButton
()" class="btncenter" type="button">



             <div class="btnright"></div>


Iam trying to click on add button using Ruby watir .But here iam
getting the error as "Unabel to recognize"
iam using below code for above html source code.
$ie.button(:name, "addbutton").click
 $ie.button(:value, "Add" ).click
    or
ie.button(:name, "addbutton").click
ie.button(:value, "Add" ).click

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to