Menu

#131 TableCell should recognize "th"

Version_2.0_beta1
closed
5
2012-09-15
2009-04-28
JunHo Yoon
No

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.

Discussion

  • Nobody/Anonymous

    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

     
  • Jeroen van Menen

    See my previous comment

     

Log in to post a comment.