[
http://jira.openqa.org/browse/WTR-274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19610#action_19610
]
Joe DiMauro commented on WTR-274:
---------------------------------
Believe this is related to: http://jira.openqa.org/browse/WTR-26
The use of Watir method: top_level_table.row_count_excluding_nested_tables
will work if nested tables exist.
> Table.rows returns incorrect number of rows
> -------------------------------------------
>
> Key: WTR-274
> URL: http://jira.openqa.org/browse/WTR-274
> Project: Watir
> Issue Type: Bug
> Components: Table
> Affects Versions: 1.5.6
> Environment: Windows XP sp3
> Ruby 1.8.7
> Watir 1.5.6
> Reporter: Parvinder Ghotra
> Fix For: Future
>
>
> Watir does not return correct number of rows for a table that has a nested
> table in it.
> If the top level table has 5 rows and one of the rows has a nested table with
> 2 rows, when you do
> top_level_table.rows.length Watir returns 7.
> I think it should return 5.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development