Forum: Ruby script for CSS html buttons using ruby watir

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Suresh B. (Guest)
on 2009-03-06 14:42
Attachment: Ruby_discussions.txt (0 Bytes)
 <div class="buttonholder">

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

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

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


Here for above add button what is the script we have use.
1)Iam trying with the following methods but iam getting "unable to
recognize" error

1)$ie.button(:name, "addbutton").click
 $ie.button(:value, "Add" ).click

2)ie.button(:name, "addbutton").click
This topic is locked and can not be replied to.