I forgot to ask you to post your html.<br><br>If you have html that looks like this<br><br><table><br><tr><br><td bgcolor=red><br>text<br></td><br></tr><br></table><br><br>you can get the html of cell with this (watir
1.5.1.1081)<br><br>irb(main):005:0> ie.table(:index, 1)[1][1].html<br>=> "\r\n<TD bgColor=red>text </TD>"<br><br>If you want to see if there is text "red" (without quotes) this will do it
<br><br>irb(main):012:0> ie.table(:index, 1)[1][1].html.match("red")<br>=> #<MatchData:0x2e01170><br><br>Just to make shure, it would return nil for any other colour<br><br>irb(main):014:0> ie.table
(:index, 1)[1][1].html.match("black")<br>=> nil<br><br>I could be more precise if you posted a html snippet.<br>-- <br>Zeljko Filipin<br><a href="http://zeljkofilipin.com">zeljkofilipin.com</a>