Select option

Select option

Select an option from a dropdown in your automated test

Forms and filters are core elements of user interfaces. From choosing country codes and payment methods to filtering product lists and selecting preferences, dropdowns and select elements appear everywhere. The Select Option step lets your test choose a specific option from a dropdown, list, or other selection control, just like a real user would.

This step helps your automation validate that selection controls behave correctly, that the correct values are applied, and that subsequent actions or content changes reflect the expected choice.

Why option selection matters

Selecting an option is more than just clicking a UI element. It often triggers:

  • Content filtering

  • Form state changes

  • Navigation or conditional UI rendering

  • Dynamic API calls

  • Price recalculation

  • Language or locale changes

If these behaviours are not triggered correctly, users may see incorrect data, experience broken workflows, or be unable to complete critical tasks.

By including Select Option in your automation, you make sure your application responds exactly as expected to user selection actions.

How the step works

With Select Option, you can:

  • Target a dropdown or select element

  • Specify the exact option you want selected

  • Assert that the correct value is applied

  • Continue your flow only once the selection has taken effect

This supports both simple selects and those that trigger downstream changes after selection.

For example:

  • Choose “United States” from a country dropdown

  • Select “Price: Low to High” in an ecommerce filter

  • Pick “Annual billing” for a subscription plan

  • Choose a category or tag to filter content

  • Select a language preference from a language picker

Because this step mimics real user interaction, it integrates naturally into your flow’s sequence of actions and validations.

Combine with waiting and assertion steps

Often, selecting an option causes content to change or load dynamically. To make assertions reliable, you can combine this step with:

  • Wait for Element — ensure new content appears after selection

  • Check Text — confirm visible text reflects the choice

  • Check Value — assert the selected value is correct

  • Visual regression — capture layout changes after selection

This enables you to build robust, end-to-end validations around selection-driven behaviour.

Real user scenarios

Option selection is a key interaction in many contexts, including:

  • Form submissions

  • Product filters

  • Settings pages

  • Language or display preferences

  • Multi-step workflows

Including select option steps in your tests ensures these flows behave consistently and correctly for real users.

Clear and maintainable automation

Because the Select Option step is explicit and declarative, it makes your flows easier to read and maintain. Anyone reviewing the Flow Designer or test results can see exactly what choice was made and why.

This improves:

  • Test clarity

  • Maintenance overhead

  • Collaboration across teams

  • Debugging efficiency

Selecting options is a fundamental part of user behaviour, and automating it correctly gives you confidence that your application responds to those selections reliably and consistently.