Hi Radha,

Comments are inline.

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

Thanks very much.


I am glad I could help. :)

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


'/Catalyst 6500/' is a string and /Catalyst 6500/ is regular expression. Let
me know if you want to know more about the two but can not find good
information on line.

Just curious what code is 240.


I really do not know why Ruby sees space as \240. I did

ie.select_list(:name, "productId").getAllContents

and it returned

=> ["--Select One--", ... "\240\240\240\240\240\240\240\240\240\240Catalyst
6500"]

so I tried

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

Let me know if you want to learn how you could do it yourself.

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

Reply via email to