[Wtr-development] [JIRA] Updated: (WTR-23) show_tables needs a rescue

Charley Baker (JIRA) watirjira at gmail.com
Wed Oct 27 15:42:28 EDT 2010


     [ http://jira.openqa.org/browse/WTR-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charley Baker updated WTR-23:
-----------------------------

    Fix Version/s:     (was: 1.6.7)
                   Soon

> show_tables needs a rescue
> --------------------------
>
>                 Key: WTR-23
>                 URL: http://jira.openqa.org/browse/WTR-23
>             Project: Watir
>          Issue Type: Bug
>          Components: HTML Controls
>            Reporter: Charley Baker
>             Fix For: Soon
>
>
> add a begin/rescue around the columns=#{d.rows["0"].cells.length
> code
> I guess sometimes row(0) doesnt work - maybe its a th
> WIN32OLERuntimeError: Unknown property or method `0'
>     HRESULT error code:0x80020006
>       Unknown name.
>         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1678:in `[]'
>         from c:/ruby/lib/ruby/site_ruby/1.8/watir.rb:1678:in
> ignore the line numbers, they are from an old version

-- 
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

        


More information about the Wtr-development mailing list