OK.   Having trouble try some debugging or fingerprinting to help
yourself out!

This code snippet will show all objects on the page then show you info
about the radio buttons
require 'rubygems'
require 'watir'
ie = Watir::IE.new
ie.goto('http://www.w3schools.com/html/html_forms.asp')
# show all the objects on the page
puts ie.show_all_objects().to_s
# show how many radio buttons and other radio info as needed
puts ie.radios.length().to_s
puts '=============='
ie.radios.each { |r| puts r.to_s }
puts '=========='
puts ie.radios.show


Other samples
$ie.show_frames    # identify the frames on a page
$ie.text_fields.show  # show info for all elements of a particular
type on a page

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

Reply via email to