# Select all Values From List

This is a pre-built Action located under the captured list element. The functionality of this Action in Avo Assure is to select all available values from the list. The result is stored in the given dynamic variable for further use during test execution.

## **Syntax**

**Input Value:** `N/A`

| Argument | Description    |
| -------- | -------------- |
| N/A      | Not Applicable |

**Output Value**: `<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)`

| Argument                                                    | Description                                                       |
| ----------------------------------------------------------- | ----------------------------------------------------------------- |
| \<Dynamic Variable>(Optional);\<Dynamic Variable>(Optional) | Both dynamic variables store the status as **True** or **False**. |

### Example: Selecting All Values from a List Element&#x20;

In this example, we explain how to select all available values from a specified list element.&#x20;

* **Action**: Select all Values From List&#x20;
* **Input Value**: N/A&#x20;
  * This action does not require any input value. It identifies the captured list element and selects all values from it.&#x20;
* **Output Value**: {Status}&#x20;
  * The execution status of the selection operation is stored in the **{Status}** dynamic variable with the following possible values:&#x20;
    * **True**: If all values are selected successfully.&#x20;
    * **False**: If all values are not selected successfully.&#x20;
* **Logical Explanation**: The **Select all Values From List** action identifies the target list element and performs the selection of every available option within it. The result of this action (**Ture**) is stored in the **{Status}** variable.&#x20;

<figure><img src="https://2174257472-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fk8QZzXZMIJSStKAzDSTu%2Fuploads%2F9vLjy93lB0SuxoVUmier%2Funknown.png?alt=media&#x26;token=d0b49c17-8d1c-4925-9362-b489493ab22d" alt=""><figcaption></figcaption></figure>
