[
http://jira.openqa.org/browse/WTR-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zeljko closed WTR-273.
----------------------
Resolution: Won't Fix
If this is still a problem, please report it here:
https://github.com/watir/watir-classic/issues
> contrbution - :has_cell to identify nested tables by cell text and
> TableRow#column to return the cell given a column name [patch]
> ----------------------------------------------------------------------------------------------------------------------------------
>
> Key: WTR-273
> URL: http://jira.openqa.org/browse/WTR-273
> Project: Watir
> Issue Type: New Feature
> Components: Table
> Affects Versions: 1.6.2
> Environment: IE, Windows XP
> Reporter: Hugh
> Priority: Major
> Fix For: Future
>
> Attachments: watir-has_cell.txt
>
>
> I've been using code to locate tables that have no identifying information
> other than I know the text in one of the cells and I know the column I want
> in that row. The problem with the existing table implementation is that if
> there are embedded tables and I try to use browser.row(:text, 'foo'), then I
> get the outermost table because it's using innerText for the match. This code
> (attached as a patch) will only return a match if there are no embedded
> tables that have that match. Further, I've adjusted TableRow to allow
> returning a column by name so you could do something like:
> browser. row(:has_text, 'some text'),column('Total Amount')
> Feel free to use or not but I've found it extremely useful in testing our
> legacy applicaions or parts of applications where things are dynamically
> generated
--
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