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] Unable to select an item using select_list
Hi, I am trying to select an item in the list using the code below but had no success. ie.select_list(:name, productId).select(Catalyst 6500) Can someone please point me to what I am missing. Thanks in advance, -Radha Below is the HTML source == td id=productId class=form_label img border=0 src=assets/images/required.gif Product : /td td class=form_element span class='select-box' select name=productId tabindex=10 id=product_0 style=width:200pxoption value=''--Select One--/option optgroup class=productVendor label=Default Vendor/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;Default Group/optgroup option value=2nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;ConnectPort WAN VPN/option option value=10nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;CP Solution/option option value=1nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Default Product/option option value=9nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Digi Solution/option option value=13nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Ignify Solution/option option value=11nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Management Suite (TMS/option option value=6nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Passport/option option value=14nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;QA_Product1/option option value=15nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;QA_Product2/option option value=4nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Rapidport/4/option option value=5nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Serial Servers/option option value=12nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Total Business Solution/option option value=3nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Wavespeed/LAN/option optgroup class=productVendor label=Diamond Security Vendor/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;Diamond Security Suite A/optgroup option value=43nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Diamond Firewall Scanner/option option value=44nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Diamond Intrusion Preventor/option optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;Diamond Security Suite B/optgroup option value=45nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Diamond Spam Blocker/option option value=46nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Diamond Spyware Removal/option option value=47nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;Diamond Virus Scanner Extreme/option optgroup class=productVendor label=lz_Vendor/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;lz_Group/optgroup option value=17nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;lz_product/option optgroup class=productVendor label=Noopur_Vendor1/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;NV1_Group1/optgroup option value=31nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV1_G1_Product1/option option value=32nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV1_G1_Product2/option optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;NV1_Group2/optgroup option value=33nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV1_G2_Product1/option option value=34nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV1_G2_Product2/option optgroup class=productVendor label=Noopur_Vendor2/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;NV2_Group1/optgroup option value=35nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV2_G1_Product1/option option value=36nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV2_G1_Product2/option option value=37nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV2_G1_Product3/option optgroup class=productVendor label=Noopur_Vendor3/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;NV3_Group1/optgroup option value=38nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV3_G1_Product1/option option value=39nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV3_G1_Product2/option optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;NV3_Group2/optgroup option value=40nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV3_G2_Product1/option optgroup class=productVendor label=Noopur_Vendor4/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;NV4_Group1/optgroup option value=41nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV4_G1_Product1/option optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;NV4_Group2/optgroup option value=42nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;NV4_G2_Product1/option optgroup class=productVendor label=RFF Vendor/optgroup optgroup class=productGroup label=nbsp;nbsp;nbsp;nbsp;nbsp;RFF Group/optgroup option value=25nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;RFF BIO Solution