Skip to main content

Click Toolbar Button

RCA.Activities.Common.ClickToolbarButton

Description​

Clicks a button from the system or application SAP toolbars. After indicating the SAP Toolbar on the screen, the list with all available buttons is displayed in the activity.

click-toolbar-button.png

(* For mandatory)

In the body of activity​

  • Indicate on screen - Enables to select a UI element or region on screen while running the workflow.

Properties​

Common

  • Continue On Error (Boolean) - Specifies if the workflow should continue running even when this activity encounters an error. Only Boolean values (True, False) or variables are supported.
    • True - Allows the workflow to ignore the error and continue executing subsequent activities.
    • False (Default) - Stops the workflow execution and throws an error if this activity fails.
  • Delay After (Int32) - The delay time (in milliseconds) to wait after executing this activity. Default is 300 milliseconds.
  • Delay Before (Int32) - The delay time (in milliseconds) to wait before this activity starts performing any actions. Default is 200 milliseconds.

Input

  • Button (String)* - The name of the button to click on the SAP toolbar (e.g., "Save"). After selecting the toolbar on the screen, you can choose the button from the dropdown menu in the activity.

Target

  • CvElement (CvElement) - The Computer Vision element to target. Supports variables of type CvElement.
  • CvType (CvType) - The type of Computer Vision element.
  • Element (UiElement) - An existing UI element variable to use as the target, instead of using a selector.
  • FuzzySelector (String) - An alternate selector that uses fuzzy matching logic to locate the target element.
  • SearchSteps (SearchSteps) - Specifies the strategy for finding the target element.
  • Selector (String)* - The XML selector fragment used to locate the target SAP toolbar. If you select the toolbar on the screen, this is generated automatically.
  • Timeout MS (Int32) - The maximum time (in milliseconds) to wait for the target element to appear before throwing an error. Default is 30000 (30 seconds).
  • Wait For Ready (WaitType) - Specifies whether the activity should wait for the target element to become interactive before performing the action. Options include None, Interactive, or Complete.

Misc

  • Display Name (String) - The name displayed for this activity in the designer panel. You can edit this name to organize and structure your workflow better.
    E.g: [189283112] Click Toolbar Button
  • Public (Checkbox) - If selected, logs the execution details and variables of this activity. Consider data security requirements before enabling this option, as sensitive details could be written to the logs.

Options

  • Alter If Disabled (Boolean) - If selected, forces the click action even if the target button is disabled.