TableCell should recognize "th"
Brought to you by:
jvmenen
I've tested the WatiN 2.0 beta 1 with our web site.
It seems that there are problems with tablecell.
Currently supported tag name for table cell recognition is only td.
I think "th" is very common for header row and there is no way to getting it.
With custom tag support and extended method, I may access it.
However I'm using IronPython for access test, but it doesn't support .NET 3.5 and I can use extended method.
Hi,
Thanks for your report. The th element is indeed not supported by TableCell. There are two ways to get to these elements:
ElementCollection th = table.ElementsWithTag("th")
or create a custom element as explained here: http://watinandmore.blogspot.com/2009/03/custom-elements-and-controls-in-watin.html
See my previous comment