Get element coordinates Version 4 (Net)
Action group: SAP
Description
The action gets element coordinates.
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 | Coordinates of the element center | Robin.LocationPo int |
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.
Обзор
Инструменты контента