activities
latest
false
UiPath logo, featuring letters U and I in white
UI Automation Activities
Last updated Oct 28, 2024

SelectItem

Selects an item from a drop-down combo box or list box.

This API must be added after Open or Attach.

Definition

Namespace: UiPath.UIAutomationNext.API.Models

Assembly: UiPath.UIAutomationNext.API.Models (in UiPath.UIAutomationNext.API.Models dll)

Overloads

OverloadDescription
SelectItem(String, String)Selects an item from a UI element identified as a string from the Object Repository.
SelectItem(TargetAnchorableModel, String)Selects an item from a UI element identified as a TargetAnchorableModel object.
SelectItem(TargetAnchorableModel, SelectItemsOptions)Selects an item from a UI element identified as a TargetAnchorableModel object, along with other configurations.
SelectItem(String, SelectItemOptions)Selects an item from a UI element identified as a string from the Object Repository, along with other configurations.

SelectItem(String, String)

Selects an item from a UI element identified as a string from the Object Repository.

SelectItem(
    string target,
    string item)SelectItem(
    string target,
    string item)
target String
The UI element where the item you want to select is located, identified as a string from the Object Repository.
item String
The item that you want to select, identified as a string from the Object Repository.

SelectItem(TargetAnchorableModel, String)

Selects an item from a UI element identified as a TargetAnchorableModel object.
SelectItem( 
    TargetAnchorableModel target,
    string item)SelectItem( 
    TargetAnchorableModel target,
    string item)
target TargetAnchorableModel
The UI element where the item you want to select is located, identified as a TargetAnchorableModel object.
item String
The item that you want to select, identified as a string from the Object Repository.

SelectItem(TargetAnchorableModel, SelectItemsOptions)

Selects an item from a UI element identified as a TargetAnchorableModel object, along with other configurations.
SelectItem(
    TargetAnchorableModel target,
    SelectItemsOptions selectItemsOptions)SelectItem(
    TargetAnchorableModel target,
    SelectItemsOptions selectItemsOptions)
target TargetAnchorableModel
The UI element where the item you want to select is located, identified as a TargetAnchorableModel object.
selectItemsOptions SelectItemsOptions
The following options are available for configuring the select item options:
  • Item String - The item that you want to select, identified as a string from the Object Repository.
  • AlterIfDisabled Boolean - If set to true, the Select Item action is executed even if the specified UI element is disabled. This property does not apply if InteractionMode is set to HardwareEvents. By default, this is true.

SelectItem(String, SelectItemOptions)

Selects an item from a UI element identified as a string from the Object Repository, along with other configurations.

SelectItem(
    string target,
    SelectItemOptions selectItemOptions)SelectItem(
    string target,
    SelectItemOptions selectItemOptions)
target String
The UI element where the item you want to select is located, identified as a string from the Object Repository.
selectItemsOptions SelectItemsOptions
The following options are available for configuring the select item options:
  • Item String - The item that you want to select, identified as a string from the Object Repository.
  • AlterIfDisabled Boolean - If selected, the Select Item action is executed even if the specified UI element is disabled. This property does not apply if InteractionMode is set to HardwareEvents. By default, this is true.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.