Contact Us 1-800-596-4880

Select Web Element

Use this Web Automation object to select an option from a list box or a drop-down box.

Properties

Select Index The index of the option to be selected. Only applicable if Selection Method is Index.

Select Text The text of the option to be selected. Only applicable if Selection Method is Text.

Select Value The value of the option to be selected. Only applicable if Selection Method is Value.

Selection Method Decide which method should be used to identify the option which should be selected from the list or drop-down box. This can either be Index, Text, or Value.

Inbound Variables

Element XPath

Window Title

Outbound Variables

The Action Step Select Element possesses no outbound variables.

Wizard

When you have to choose something on a website or in a web application, the available options are often offered in form of a list box or drop-down box. Use Select Element to make your choice from such a box.

If the element you want to select has an underlying hyperlink, then it is not treated as an option in a list or drop-down box. Use Click Element in such cases instead.

When you use the Browser Wizard to select the drop-down box that you want to choose an entry from, all current options will be displayed in the Available Options field. Once you have selected one of the options, you can choose the method used to identify it. Once you have selected one of the options, you can choose the method used to identify it. An entry is selected as standard by the Value. On an average website, this should usually be the value that has potentially changed the least. The Text for an entry is the text that you, as user, read in the picklist. Product names or the like are easy to select in text form. The Index for an element may be imprecise, particularly on dynamic websites. If possible, therefore, Index should only be used if the element that is selected is of secondary importance.

When using Internet Explorer, selecting an option by index may take a very long time!