Hi
If u want only the row count of partiular table without nested ones just use
the below function at the starting of script and then use the normal syntax
"ie.table(:id, "Table5").row_count()".u will get the row count of particular
table
************************************************************************
module Watir
include Watir::Exception
class Table < Element
include Container
def row_count
assert_exists
raise UnknownTableException , "Unable to locate a table using [EMAIL PROTECTED]
and [EMAIL PROTECTED] " if @o == nil
return @o.rows.length
end
end
end
**********************************************************************************
now use "ie.table(:id, "Table5").row_count()".If i am write u have to get the
exact row count of table without nested rows.
bye
Kumari
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general