Get element coordinates Version 4 (Net)
Action group: SAP
Description
The action gets element coordinates.
Action icon
Settings of parameters
Свойство | Описание | Тип | Пример заполнения | Обязательность заполнения поля |
Параметры | ||||
Контекст | Экземпляр Sap | Robin.Sap | Да | |
Элемент | Элемент | Robin.WinElement | Да | |
Результаты | ||||
Результат | Координаты центра элемента | Robin.LocationPoint |
Special conditions of use
None.
Example of use
Task
Connect to an open SAP session and get element coordinates.
Solution
Use the "Connect to session", "Get element coordinates" actions.
Implementation
- Assemble a robot scheme with the actions:
- Set the "Connect to session" action parameters.
In the "Session" field set order number of the open session of a user (0 - first connected user, 1 - second, etc.) to connect to. The numbering starts at 0 and depends on the time of logging into the account.
- Set the "Get element coordinates" action parameters.The procedure for obtaining an element is specified in section The procedure for obtaining an element with SapSpy.
- Click "Start" in the top panel.
Result
The program robot completed successfully.
Обзор
Инструменты контента