Try this: t = ie.table(:index, 5) t.each { |row| row.to_s }
Take a look at the user guide and unit tests for how to use Watir. -c On 6/19/07, B Smith <[EMAIL PROTECTED]> wrote:
this doesn't work v_1 = Array.new ie.table(:index,5).rows.each_with_index do |row, i| end v_1.each do |i| puts v_1 it throws this error:: .rb:44: undefined method `rows' for #<Watir::Table:0x2e0becc> (NoMethodError) What is so difficult about retrieving all the rows??? this should be easy any help appreciated _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general
d
_______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general