On 7/18/07, rvishnubhotla <[EMAIL PROTECTED]> wrote:

<option
value="16">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Catalyst
6500</option>


Hi Radha,

There is ten spaces before "Catalyst 6500", that is why ie.select_list(:name,
"productId").select("Catalyst 6500") did not work.

I thought this would work, but it does not.

ie.select_list(:name, "productId").select("          Catalyst 6500")

Fortunately, both of this work.

ie.select_list(:name, "productId").select(/Catalyst 6500/)
ie.select_list(:name,
"productId").select("\240\240\240\240\240\240\240\240\240\240Catalyst 6500")

Zeljko
--
ZeljkoFilipin.com
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to