Get text Version 3 (Net)

Action group: SAP


Description

Get text from an element

Action icon

Parameters and their settings

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextSap instanceRobin.Sap
Yes
ElementElementRobin.WinElement
Yes
Results
ResultText from elementRobin.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

  1. Assemble a robot scheme consisting of actions:

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


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

  4. Click on the "Start" button in the top panel. 

Result

The program robot completed successfully. The button text has been received. 

  • Нет меток