[Wtr-general] assert on the color of a row in the table
Ajitesh Srinetra
ajitesh.srinetra at gmail.com
Thu Jun 28 08:58:33 EDT 2007
Hi All
Just wanted to know how can we assert on the Color of a row of a table.
The color is there in the CSS.
The html snippet is like this
</tr>
<tr style="color: rgb(192, 39, 77);">
<td align="right" style="padding: 5px;"> 5 </td>
<td align="center" style="padding: 5px;"> 27-06-2007 </td>
<td align="right" style="padding: 5px;"> 400.00 </td>
<td align="right" style="padding: 5px;"> 400 </td>
<td align="right" style="padding: 5px;"> 40 </td>
</tr>
I tried ie.table (:id,'tbl_show_records')[5][1].style but i am getting
#<WIN32OLE:0x2dad28c> as the returned value.
Thanks in advance
Ajitesh Srinetra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20070628/ed126eb4/attachment.html
More information about the Wtr-general
mailing list