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:200px"><option value=''>--Select One--</option> <optgroup class="productVendor" label="Default Vendor"></optgroup> <optgroup class="productGroup" label=" Default Group"></optgroup> <option value="2"> ConnectPort WAN VPN</option> <option value="10"> CP Solution</option> <option value="1"> Default Product</option> <option value="9"> Digi Solution</option> <option value="13"> Ignify Solution</option> <option value="11"> Management Suite (TMS</option> <option value="6"> Passport</option> <option value="14"> QA_Product1</option> <option value="15"> QA_Product2</option> <option value="4"> Rapidport/4</option> <option value="5"> Serial Servers</option> <option value="12"> Total Business Solution</option> <option value="3"> Wavespeed/LAN</option> <optgroup class="productVendor" label="Diamond Security Vendor"></optgroup> <optgroup class="productGroup" label=" Diamond Security Suite A"></optgroup> <option value="43"> Diamond Firewall Scanner</option> <option value="44"> Diamond Intrusion Preventor</option> <optgroup class="productGroup" label=" Diamond Security Suite B"></optgroup> <option value="45"> Diamond Spam Blocker</option> <option value="46"> Diamond Spyware Removal</option> <option value="47"> Diamond Virus Scanner Extreme</option> <optgroup class="productVendor" label="lz_Vendor"></optgroup> <optgroup class="productGroup" label=" lz_Group"></optgroup> <option value="17"> lz_product</option> <optgroup class="productVendor" label="Noopur_Vendor1"></optgroup> <optgroup class="productGroup" label=" NV1_Group1"></optgroup> <option value="31"> NV1_G1_Product1</option> <option value="32"> NV1_G1_Product2</option> <optgroup class="productGroup" label=" NV1_Group2"></optgroup> <option value="33"> NV1_G2_Product1</option> <option value="34"> NV1_G2_Product2</option> <optgroup class="productVendor" label="Noopur_Vendor2"></optgroup> <optgroup class="productGroup" label=" NV2_Group1"></optgroup> <option value="35"> NV2_G1_Product1</option> <option value="36"> NV2_G1_Product2</option> <option value="37"> NV2_G1_Product3</option> <optgroup class="productVendor" label="Noopur_Vendor3"></optgroup> <optgroup class="productGroup" label=" NV3_Group1"></optgroup> <option value="38"> NV3_G1_Product1</option> <option value="39"> NV3_G1_Product2</option> <optgroup class="productGroup" label=" NV3_Group2"></optgroup> <option value="40"> NV3_G2_Product1</option> <optgroup class="productVendor" label="Noopur_Vendor4"></optgroup> <optgroup class="productGroup" label=" NV4_Group1"></optgroup> <option value="41"> NV4_G1_Product1</option> <optgroup class="productGroup" label=" NV4_Group2"></optgroup> <option value="42"> NV4_G2_Product1</option> <optgroup class="productVendor" label="RFF Vendor"></optgroup> <optgroup class="productGroup" label=" RFF Group"></optgroup> <option value="25"> RFF BIO Solution Cell, 10mm </option> <option value="24"> RFF Colorimeter, Clinical Model 800-2, 220VAC </option> <option value="23"> RFF Colorimeter, Industrial Model, 900-3 Range</option> <option value="26"> RFF Dry Ice Maker </option> <option value="21"> RFF Kubota Engines</option> <option value="30"> RFF LSD 9x11 Projector</option> <option value="19"> RFF MAC mini</option> <option value="27"> RFF Microscope- Elementary Level.</option> <option value="18"> RFF New MAC</option> <option value="22"> RFF Solar Solutions</option> <option value="20"> RFF Solar Turbines</option> <option value="28"> RFF Stereo Microscope 001</option> <option value="29"> RFF Stereo Microscopes 002</option> <optgroup class="productVendor" label="RV_Vendor"></optgroup> <optgroup class="productGroup" label=" RV_Group"></optgroup> <option value="16"> Catalyst 6500</option></select> ============================================================================================= _______________________________________________ Wtr-general mailing list Wtr-general@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-general