When the value of the 'index' variable is 0, I'm getting an OLE error with
the following code


Does this mean that the [] method in Watir::Table is 1 based rather than 0
based as normal Ruby arrary are?

If so, I think
- this should be documented,
- a clear error message should be given when this occurs

Below is the error message I'm getting

WIN32OLERuntimeError: item
    OLE error code:80070057 in htmlfile
      Invalid argument.
    HRESULT error code:0x80020009
      Exception occurred.
    C:/ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/table.rb:99:in `[]'

You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to