Select an option in a native dropdown

Legacy step that picks an option in a native dropdown. Use Click in a web test instead.

Deprecated. This step no longer appears in the step palette. Existing tests that use it keep running. For new tests, use Click to open the dropdown and click the option, which also works for custom (non-native) dropdowns.

Pick an option in a native dropdown, the browser's built-in list (an HTML <select> element), by its visible text, its position, or one of its attributes.

Parameters

ParameterRequiredDescription
Target elementYes, unless a manual selector is setNatural-language description of the select element.
Manual selectorNoXPath or CSS selector, used when AI is disabled or as the saved selector.
Select option byYesvisible_text (default), index, or attribute.
ValueWhen by is visible_textThe option's visible text.
IndexWhen by is indexThe option's position, starting at 0.
Attribute name and valueWhen by is attributeThe HTML attribute to match, for example value = FR.
AI usageNoinherit (default, follows the test strategy), smart, or always.
Ignore error on this stepNoThe run continues with the next step if this one fails. Default: off.

Results and metrics

  • Timing: start, end, and duration (in seconds) recorded in the step result.
  • Status: failed if the element or the requested option cannot be found.
  • Screenshot: captured after the selection.

What's next?

Click

The current way to pick dropdown options

Fill input

Type into searchable dropdowns

Last updated on