Script for CSS html buttons using ruby watir

           <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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs