#Doesn't work
table_id = $ie.table(:id,'value).body(:index,1)
put table_id.row_count
#Works
row_counter = 0
table_id.body(:index,1).each do | row |
row_counter = row_counter + 1
end
puts row_counter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---