paddycoep has asked for the wisdom of the Perl Monks concerning the following question:

HI,

I have to select a drop down item from drop down list using getSelectList()

The html code is like this -
<select onchange="return variantResponse(1, this.selectedIndex, null, +null)" size="1" style="width: 100%;" title="VariantParamList"><option + value="Configure Part" title="Configure Part" text="Configure Part"> +Configure Part</option><option value="Enter by Part Number" title="En +ter by Part Number" text="Enter by Part Number" selected="true">Enter + by Part Number</option></select></td>
Here, the select list dont have id, or name. It has index which i used for getSelectList but its not working. I think it is due to the index in the in function -
onchange="return variantResponse(1, this.selectedIndex, null, null)"
please help me how to select the items from such lists...

Replies are listed 'Best First'.
Re: Select drop down list with ieautomation
by Anonymous Monk on Jul 12, 2009 at 15:40 UTC
Re: Select drop down list with ieautomation
by biohisham (Priest) on Jul 12, 2009 at 20:09 UTC
    use the specific code tags for opening and closing tags to embed your code in between , this makes your code easier to read, follow and understand and hence faster to get a response and a reply too...best of luck at PerlMonks...
    Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind
      Here is the code of HTML tags of the Webpage:
      <html xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="http:// +web2cad.de/ppowxsl"> The Select list HTML tag: <select onchange="return variantResponse(1, this.selectedIndex, null, +null)" size="1" style="width: 100%;" title="VariantParamList"> <option value="Configure Part" title="Configure Part" text="Configure +Part" selected="true">Configure Part </option> <option value="Enter by Part Number" title="Enter by Part Number" text +="Enter by Part Number">Enter by Part Number </option> </select>
      In this case, how can i use getSelectList method of win32::IEautomation module??