История страницы
...
Set list value Version 14 (Net)
Группа действийAction group: Windows
Описание
Действие устанавливает значение из списка
Иконка
Параметры
Входные параметры
Элемент Ресурс, который хранит данные о выбранном элементе приложения.
Тайм-аут Время в миллисекундах, в течении которого будет происходить поиск нужного окна.
Значение Значение из списка, которое необходимо выбрать.
Номер окна Если найдено несколько окон, то действие взаимодействует с окном под указанным номером.
Настройки
...
Description
The action sets the list value
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Element | A resource that stores data about the selected application element | Robin.WinElement | Yes | |
Time-out | Time in milliseconds during which the search for the desired window will occur |
. | Robin.Numeric |
No |
Value | Value from the list to be selected. | Robin.String |
Yes |
Window order | When found more than one window, action would interact with window defined by order | Robin.Numeric |
Особые условия использования
Отсутствуют
Пример использования
Задача
No |
Special conditions of use
None.
Example of use
Task
There is an open "Parameters" window. In the dropdown list select value 150% (current value Открыто окно "Параметры", необходимо выбрать в выпадающем списке значение 150% (текущее значение - 125%).
...
Solution
Воспользоваться действием "Установить значение списка".
Реализация
...
Use the "Set list value" action.
Implementation
- Move the "Set list value" action to the workspace.
- Set the "Set list value" action parameters. Get the element with the WinSpy tool. Working with WinSpy is described in section Get Win-element. Setting a timeout does not, in general, increase the execution time of an action beyond the time it takes for the item we are using in the action to become visible and accessible. During the set timeout, the action tries to access the element it is working with. As soon as the item is available, the waiting timeout expires.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
The value is set to 150%.
...
Результат
Программный робот отработал успешно.
Значение списка установлено - 150%.