Call the context menu command Version 1 (Net)
Action group: SAP
Description
The action calls the context menu command of the specified item
Action icon
Parameters
Input parameters
SAP application - Instance of the SAP application with which the action works
Element - Element with which you want to interact with the context menu
Command name - The name of the command to be called from the context menu. If the field is not filled in, the value from the "Command index" field is taken. The field is filled in case insensitive. The command name is specified without hotkeys.
Command index - Command index
Settings
Property | Description | Type | Filling example | Mandatory field |
---|---|---|---|---|
Parameters | ||||
Element | The element whose context menu you want to interact with |
| Yes | |
Command name | The name of the command to be called from the context menu. If the field is not filled in, the value from the "Command index" field is taken | Robin.String |
For example: In the "Command name" field, enter "Add other objects" In the "Command index" field, enter "3". The action will invoke the "Add other objects" command. | No |
Command index | The sequence number of the command to be called from the context menu. The numbering starts from 1 | Robin.Numeric | No |
Special conditions of use
- The action uses the "Command Name" parameter to define the command; if the parameter field is not filled in, the "Command Index" parameter is used.
- If the parameters "Command index" and "Command name" are not filled in, the action generates an error.
- If the SAP window is overlapped by another window, the application may not behave correctly.
- Note that programs that use screen capture can also cause the application to fail.
Example of use
Task
Call the context menu command
Solution
Use the action "Authorize", "Click", "Call the context menu command".
Implementation
- Assemble a robot scheme consisting of the actions "Authorize", "Click", "Call the context menu command":
2. Set the parameters for the "Authorize" action according to the description SAP Authorization.
3. Set the parameters for the "Click" action according to the Click description.
4. Set the parameters of the "Call the context menu command" action
5. Click on the "Start" button in the top panel.
Result
The program robot completed successfully.