[Wtr-general] Problem reading tables

Bret Pettichord bret at pettichord.com
Tue Sep 5 15:06:09 EDT 2006


I'm not surprised to hear that this doesn't work. It's not a common 
situation. If you'd like to see a fix, please log this in Jira.

Bret

RadhaKrishna Sunkari wrote:
> I get the following error, if I've an empty table(with
> no <td> or <tr> tags in it). In this case my table #2
> is empty.
> I'm using watir 1.4.1. Did someone notice the same
> problem? Thanks.
>
> irb(main):069:0> ie.show_tables
> Found 19 tables
> 1  id=      rows=1   columns=1
> WIN32OLERuntimeError: Unknown property or method `0'
>     HRESULT error code:0x80020006
>       Unknown name.
>         from
> c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1622:in `[]'
>         from
> c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1622:in
> `show_tables'
>         from
> c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1621:in `each'
>         from
> c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1621:in
> `show_tables'
>         from (irb):69
>         from &#9829;:0
> _______________________________________________
> Wtr-general mailing list
> Wtr-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-general
>   



More information about the Wtr-general mailing list