Get element coordinates Version 4 (Net)

Action group: SAP


Description

The action gets element coordinates.

Action icon

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextSap instanceRobin.Sap
Yes
ElementElementRobin.WinElement
Yes
Results
ResultCoordinates of the element centerRobin.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

  1. Assemble a robot scheme with the actions:

  2. 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.


  3. 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.

  4. Click "Start" in the top panel.

Result

The program robot completed successfully.

  • Нет меток