История страницы
...
Get dropdown items Version 2 (Net)
Группа действийAction group: SAP
Описание
Получить элементы выпадающего списка.
Иконка действия
Параметры и их настройки
...
Description
Get items in the dropdown list.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Sap instance |
Свойство
Описание
Тип
Пример заполнения
Обязательность заполнения поля
Параметры
Контекст
Robin.Sap |
Yes |
Element |
Element | Robin.WinElement |
Yes |
Results |
Результат
Result | Return collection of items of list | Robin.Collection |
...
Special conditions of use
ОтсутствуютNone.
Пример использования
Задача
Example of use
Task
Connect to an open SAP session and retrieve the items in the dropdown listПодключиться к открытой сессии SAP и получить элементы выпадающего списка.
Решение
Solution
Use the “Connect to session”, “Get dropdown list items” actionsВоспользоваться действием "Подключиться к сессии", "Получить элементы выпадающего списка".
Реализация
Implementation
- Assemble a robot scheme consisting of actionsСобрать схему робота, состоящую из действий:
- Настроить параметры для действия "Подключиться к сессии".
В поле "Сессия" указывается порядковый номер открытой сессии одного пользователя (0 – первый подключённый пользователь, 1- второй и т.д.), к которой необходимо подключиться. Нумерация начинается с 0 и зависит от времени входа в учетную запись
- Настроить параметры для действия "Получить элементы выпадающего списка". Порядок получения элемента указан в разделе Порядок получения элемента с помощью SapSpy
- Нажать на кнопку "Старт" в верхней панели.
Результат
- Set the parameters for the “Connect to session” action.
The “Session” field specifies the sequence number of one user's open session (0 - the first connected user, 1- the second, etc.) to which you want to connect. The numbering starts from 0 and depends on the time of login to the account
- Set the parameters for the “Get dropdown list items” action. The order of getting an item is specified in the section Procedure for obtaining an item using SapSpy
- Click on the “Start” button in the top panel.
Result
The program robot completed successfully. The elements are written to the variable of type “Collection” (3 elementsПрограммный робот отработал успешно. Элементы записаны в переменную типа "Коллекция" (3 элемента).