I don't think you are supposed to put single quotes around the regular
expression.


--Mark


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of rvishnubhotla
Sent: Wednesday, July 18, 2007 10:29 AM
To: wtr-general@rubyforge.org
Subject: Re: [Wtr-general] Unable to select an item using select_list

Hi Zeljko,

Thanks very much. Tried the below as you suggested and it worked. Hurray
!!!
$ie.select_list(:name, "productId").select(/Catalyst 6500/)

I actually tried a slight variation of the above before posting which
didn't work:
=> $ie.select_list(:name, "productId").select('/Catalyst 6500/') =>
Tried & nbsp but not \240.

Just curious what code is 240. did you mean to user Ascii code?

Thanks,
-Radha
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to