Hi all ,
     The html code looks like this

          <td style='background-color:#33FFCC; color:#CC0033'>
            <a href="#"
onClick="populateLinks('subscriber_info',event, 'Recharge Info,Caller
Subscriber Info', '2,4', '1,0','+919812005762'); return
highlightRow('2');" onMouseout="delayhidemenu()">+919812005762</a>
          </td>


          <td style='background-color:#33FFCC; color:#CC0033'>
            <a href="#"
onClick="populateLinks('subscriber_info',event, 'Recharge View,Called
Subscriber Info', '1,3', '1,0','+918021000001'); return
highlightRow('2');" onMouseout="delayhidemenu()">+918021000001</a>

          </td>


          <td style='background-color:#33FFCC; color:#CC0033'>
            &nbsp;
          </td>


          <td style='background-color:#33FFCC; color:#CC0033'>
            Outgoing
          </td>


          <td style='background-color:#33FFCC; color:#CC0033'>
            PhoneNumber
          </td>

Here I have to assert on the color:#CC0033' not on the background color.
          <td style='background-color:#33FFCC; color:#CC0033'>
            PhoneNumber
          </td>

In this line PhoneNumber is one of the column of the row and the whole
row is having color ahving color code '#CC0033'

All other rows are having different color.

I tried @ie.table(:id,
'IDNAME')[2].html.match("background-color:#33FFCC; color:#CC0033")
but  it's not working
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to