Can any one can give how we can check the whether checkbox is checked or
not.


<input type="checkbox" name="different_billing_info"
id="different_billing_info">

We are using

if checkbox(:id,"different_billing_info") == "1"
  puts "checkbox is checked"
else
  puts "checkbox is unchecked"


Its is not working can you please help in Ruby-Watir scripting

Thanks for

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to