[
http://jira.openqa.org/browse/WTR-494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zeljko closed WTR-494.
----------------------
Resolution: Won't Fix
If this is still a problem, please report it here:
https://github.com/watir/watir-classic/issues
> Need better error message when .table[n][n] is called with invalid value
> ------------------------------------------------------------------------
>
> Key: WTR-494
> URL: http://jira.openqa.org/browse/WTR-494
> Project: Watir
> Issue Type: Bug
> Components: Table
> Affects Versions: 2.0
> Environment: watir 1 => 2 upgrade
> Reporter: Chuck van der Linden
>
> Calls to browser.table[r][c] will fail with a weird error message if one of
> the values is out of the possible range. Most typically seen in a situation
> where a user of watir 1 upgrades to watir 2 and does not revise their index
> values.
> repro try to do something like click a link in a 2x2 table,
> with indexing set for zero based,
> using code like browser.table(:how, 'what')[2][1].click
> Expected: error message that cell does not exist, index is out of range, or
> something along those lines.
> Actual: the error: "Undefined method `each' for :ole_object:Symbol
> (NoMethodError)"
> ref this thread on watir general
> http://groups.google.com/group/watir-general/browse_thread/thread/9d5ed8c8e161ce26
--
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