Select List Item

This activity allows you to select an item from a combo box / drop-down list or a list box.

Select Item runs in the background, so it doesn't set focus on the selected control.

Properties

Input

  • Identifier: indicate a new UI element, or select from the already defined list of selectors.

  • Interaction Method:

    • Input_Symulation: Will simulate mouse/keyboard actions for interaction with various controls

    • Low_Level: Will trigger/act on controls using low-level API calls, such as SendMessage API

  • Select: The expression value which is used to search for the desired item in the above-defined list. Strings need to be enveloped by quotes.

Misc

  • Display Name: action display name in your implementation project

  • Wait Before: number milliseconds robot to wait before executing the action.

  • Wait After: number milliseconds robot to wait until moving to the next action.

  • Abort on Error: True/False

  • Retry Times: Specifies the number of times to retry an action if it doesn't end successfully. Default value 0 (no retry); Use -1 if you want to retry indefinitely.

Use Case

Potential Use Cases

  • Select the operation type of a transaction to be registered from a drop-down

  • Select the master data type of an item to be created from a drop-down

  • Select the category of an element to be searched from a drop-down

Examples of Using Select List Item

Example

In this example, the robot will select the new document default language in Notepad++ from the current one to C#.

Prerequisites:

Install Notepad++

Navigate to Notepad++ > Settings > Preferences > New Document

Watch the robot in action:

You can see how the Select List Item activity is used in an example that incorporates multiple activities. You can check and download the example from here:

The article doesn't fully answer your question, or you want to find out more? Ask your question in the comments, on our community forum, or contact our support team or your account manager. Whatever works for you, your question will find its answer soon!