История страницы
...
Get text Version 3 (Net)
Группа действийAction group: SAP
Описание
...
...
Description
Get text from an element
Action icon
Настройки
Parameters and their settings
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Sap instance |
Свойство
Описание
Тип
Пример заполнения
Обязательность заполнения поля
Параметры
Контекст
Robin.Sap |
Yes |
Element |
Element | Robin.WinElement |
Yes |
Results |
Результат
Result | Text from element | Robin.String |
Особые условия использования
Отсутствуют
Пример использования
Special conditions of use
None.
Example of use
Task
Connect to an open SAP session and retrieve the button textЗадача: подключиться к открытой сессии SAP и получить текст кнопки.
Solution
Use the "Connect to sessionРешение: воспользоваться действием "Подключиться к сессии", "Получить текстGet text" actions.
Реализация:
Implementation
- Assemble a robot scheme consisting of actionsСобрать схему робота, состоящую из действий:
- Настроить параметры для действия "Подключиться к сессии"Set the parameters for the "Connect to session" action.
В поле The "Сессия" указывается порядковый номер открытой сессии одного пользователя (0 – первый подключённый пользователь, 1- второй и т.д.), к которой необходимо подключиться. Нумерация начинается с 0 и зависит от времени входа в учетную запись
- Настроить параметры для действия "Получить текст". Порядок получения элемента указан в разделе Порядок получения элемента с помощью SapSpy
- Нажать на кнопку "Старт" в верхней панели.
Результат:
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 text" action. The order of receiving the item is specified in the section The order of receiving the item with SapSpy
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The button text has been receivedПрограммный робот отработал успешно. Текст кнопки получен.