I tried getHTML for table cell(Table cell is dynamic)
ie.frame(:index,1).table(:index,table_index)[2][2].getHTML
But I am getting the following error message:
"undefined method `getHTML' for #<Watir::TableCell:0x2db9cc8> (NoMethodError)"
How else can I do it?
Thanks,
Amitha
-----Original Message-----
From: [EMAIL PROTECTED] on behalf of Jeff Wood
Sent: Fri 10/7/2005 12:56 PM
To: [email protected]
Cc:
Subject: Re: [Wtr-general] How to get background color source for a
tablecell?
Although I don't have the time to work the example tonight, the new
xpath & integration with REXML should make that easy to get.
j.
On 10/6/05, Amita Shetty <[EMAIL PROTECTED]> wrote:
Hi,
How to get background color source for a table cell?
I want to write a test case that verifies the color of the
table cell as the color of the cell
varies with cell data.
HTML for the tablecell is as below:
<td align="center" bgcolor="#FF0000" style="width:60px;
border:#000000 1pt solid" title= "TITLE"><font
color="#FFFFFF">Critical</font><br>8</a></td>
Thanks,
Amitha
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
--
"http://ruby-lang.org -- do you ruby?"
Jeff Wood
<<winmail.dat>>
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
