The SAP Action building block is used to perform different actions on an SAP element.
Fully expanded, the SAP Action block shows the following properties:
The green input connector in the header is used to trigger the block to start executing.
The green output connector in the header triggers when the element has been successfully found and the specified action has been performed successfully in the element.
The title of the block (“SAP Action”) can be changed by double-clicking on it and typing in a new title.
This property contains the locator for the web element to be found.
An SAP element can be captured by right-clicking on the property and selecting “Capture new element”.
This property contains the SAP Element Type. This value is set as soon as element has been captured.
This property contains the SAP target value. This value get set as soon as element is been captured.
These fields enable the use of external values (dynamic data) in the “Target”.
To use the value of an added field, right-click the text field above where the Target can be entered and select “Insert token”, then insert the field’s name.
Fields can be renamed by double-clicking on them. The tokens will change their visual appearance accordingly.
This property contains the list of actions which can be performed on an SAP element. They vary depending on the selection of the SAP Element type.
The property lists all of the possible attributes of the SAP Element and vary on the selection of the SAP Element type and Action type.
This property returns the value of the attribute.
This green output connector triggers if the SAP element is not found before the timeout (see below). This is typically used to branch execution flow or to explicitly fail a case by linking it to a Fail block.
If the 'Default Timeout' property checkbox is not selected, then the timeout value is 10 seconds. If the 'Default Timeout' property checkbox is selected, then the 'Default timeout' value selected in the flow settings will be applicable.