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.
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 "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.
Обзор
Инструменты контента