Get dropdown items Version 2 (Net)
Action group: SAP
Description
Get items in the dropdown list.
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 | Return collection of items of list | Robin.Collection |
Special conditions of use
None.
Example of use
Task
Connect to an open SAP session and retrieve the items in the dropdown list.
Solution
Use the "Connect to session", "Get dropdown list items" 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 dropdown list items" action. The order of getting an item is specified in the section Procedure for obtaining an item using SapSpy
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The elements are written to the variable of type "Collection" (3 elements).
Обзор
Инструменты контента