# What is the Selection By Text in GUI ComboBox actions?

**URL:** <https://community.automationedge.com/t/what-is-the-selection-by-text-in-gui-combobox-actions/17674>\
**Category:** AutomationEdge UI\
**Created:** [February 27, 2026, 2:04pm UTC](https://community.automationedge.com/t/what-is-the-selection-by-text-in-gui-combobox-actions/17674 "2026-02-27T14:04:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akanksha](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@Akanksha](https://community.automationedge.com/u/Akanksha)\
**Post date:** [February 27, 2026, 2:04pm UTC](https://community.automationedge.com/t/what-is-the-selection-by-text-in-gui-combobox-actions/17674/1 "2026-02-27T14:04:50Z")

</div>

In GUI ComboBox actions, what is the difference between Select By Index, Select By Value, and Select By Visible Text?

---

<div class="post-metadata">

**Author:** ![AETrainings](https://avatars.discourse-cdn.com/v4/letter/a/2acd7d/32.png) [@AETrainings](https://community.automationedge.com/u/AETrainings)\
**Post date:** [March 7, 2026, 5:16am UTC](https://community.automationedge.com/t/what-is-the-selection-by-text-in-gui-combobox-actions/17674/2 "2026-03-07T05:16:27Z")

</div>

In GUI automation, a **ComboBox (dropdown list)** allows users to select one option from multiple available options. Different actions are used to select an item based on how the option is identified.

**1. Select By Index**  
This method selects an option based on its **position in the dropdown list**.  
The index usually starts from **0** , meaning the first item in the list has index 0.

Example:  
If the dropdown contains:  
0 – Select Country  
1 – India  
2 – USA

Using **Select By Index = 1** will select **India**.

**2. Select By Value**  
This method selects an option based on the **value attribute associated with the option in the underlying element**. The value may be different from the text displayed to the user.

Example:  
If the option is defined as:  
`<option value="IN">India</option>`

Using **Select By Value = “IN”** will select **India**.

**3. Select By Visible Text**  
This method selects the option based on the **text that is displayed to the user in the dropdown**. It matches the exact visible label.

Example:  
If the dropdown shows **India** , using **Select By Visible Text = “India”** will select that option.
