Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

SAP element-level method descriptions

The SAP connector provides various element-level methods that you can use to automate actions on the SAP screen UI elements, for example, a button or a check box.

Common methods

The following methods apply to all elements on the SAP screen.

Note: Any other elements that you see on the SAP screen that aren’t listed in this topic support only the common methods.

  • Highlight

    Highlights the element on the SAP screen.

  • IsCreated

    Returns true if the element is present on the SAP screen, and false if the element is not present.

  • MouseClick

    Performs a mouse-click action on the element on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    clickTypeOption to select the type of mouse click: left or right.Data InEnumLeftNo
  • SendKeys

    Sends the keyboard strokes such as Enter or Ctrl, to the element on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    keysKeyboard strokes that you want to send to the element.Data InStringNAYes
    clearExistingValueOption to specify whether to clear the existing value of the element before entering the keys value.Data InBooleanFalseNo
    typeDelayOption to specify the time delay in seconds between each key stroke.Data InDouble0.09No
  • SetFocus

    Sets focus on the element on the SAP screen.

  • WaitForCreate

    Waits for the specified duration while the element is being loaded. This enables all the dynamic controls to load.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    timeoutInSecondsDuration in seconds after which the method times out.Data InInteger30 secondsNo

GuiButton methods

  • Click

    Selects the button on the SAP screen.

GuiCheckbox methods

  • Check

    Selects the check box on the SAP screen.

  • IsChecked

    Returns true if the element is selected on the SAP screen, and false if the element isn’t selected.

  • Uncheck

    Clears the check box on the SAP screen.

GuiComboBox

  • Get

    Gets the selected value of the combo box on the SAP screen.

  • GetIconName

    Gets the property icon name of the element on the SAP screen.

  • GetList

    Gets all the list of values from the combo box on the SAP screen.

  • Set

    Sets the value of the combo box against the key passed.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    valueValue that you want to set for the combo box.Data InStringNoneYes
    selectedItemOption to specify whether you want to set the value for "Key" or "Value".Data InEnumNoneYes

GuiCtrlGridView

  • ClickButtonCell

    Selects a button in the grid cell defined by the row number and the column code.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the grid.Data InIntegerNoneYes
    columnCodeThe column identifier of the grid cell.Data InStringNoneYes
  • ClickCell

    Selects a grid cell defined by the row number and the column code.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the grid.Data InIntegerNoneYes
    columnCodeThe column identifier of the grid cell.Data InStringNoneYes
  • DeselectAllRows

    Deselects all the rows that are selected in the grid.

  • GetCellType

    Retrieves the type of the grid cell defined by the row number and the column code.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the grid.Data InIntegerNoneYes
    columnCodeThe column identifier of the grid cell.Data InStringNoneYes
  • GetCellValue

    Retrieves the value of the grid cell defined by the row number and the column code.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the grid.Data InIntegerNoneYes
    columnCodeThe column identifier of the grid cell.Data InStringNoneYes
  • GetColumns

    Retrieves the list of active column headers of the grid.

  • GetColumnsKeyValuePair

    Retrieves the column name and column code as key-value pair from the columns of the grid.

  • GetRowCount

    Retrieves the number of the rows of the grid.

  • GetRows

    Retrieves the number of grid rows defined in the rowNumber parameter, starting from the row defined in the startIndex parameter.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    startIndexThe starting row index to begin retrieving rows.Data InIntegerNoneYes
    rowNumberIndicates the number of rows to retrieve from the gridData InIntegerNoneYes
  • GetRowsByColumn

    Retrieves a subset of rows from a specific column based on the startIndex, rowNumber, and columnCode parameters.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    startIndexThe starting index of the row to begin retrieving the data in the specified column (columnCode).Data InIntegerNoneYes
    rowNumberThe number of rows to retrieve starting from the startIndex.Data InIntegerNoneYes
    columnCodeThe column from which the row data is retrieved.Data InStringNoneYes
  • GetSelectedColumns

    Retrieves the columns that are selected.

  • GetSelectedRows

    Retrieves the rows that are selected.

  • GetSingleRow

    Retrieves a specific row of the grid defined by the row number.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index (or row number) specifying which row of the grid you want to retrieve data for.Data InIntegerNoneYes
  • GetVisibleRows

    Retrieves the rows that are visible.

  • SelectAllRows

    Selects all rows of the grid.

  • SelectCell

    Selects the grid cell defined by the row number and the column code.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the grid.Data InIntegerNoneYes
    columnCodeThe column identifier of the grid cell.Data InStringNoneYes
  • SelectContextMenuItemById

    Selects the context menu item from the grid based on the ID that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    IdThe unique identifier of the context menu item you want to select.Data InStringNoneYes
  • SelectContextMenuItemByPosition

    Selects the context menu item from the grid based on the position that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    menuItemPositionThe position of the context menu item that you want to select.Data InStringNoneYes
  • SelectContextMenuItemByText

    Selects the context menu item from the grid based on the text that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    menuItemTextThe text of the context menu item that you want to select.Data InStringNoneYes
  • SelectSingleRow

    Selects the row of the grid defined by the row number.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row number that the method uses to select a row in the grid.Data InStringNoneYes
  • SelectToolbarMenuItemById

    Selects the toolbar menu item from the grid based on the ID that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    IdThe unique identifier of the toolbar menu item you want to select.Data InStringNoneYes
  • SelectToolbarMenuItemByPosition

    Selects the toolbar menu item from the grid based on the position that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    menuItemPositionThe position (or index) of a menu item in the toolbar.Data InIntegerNoneYes
  • SelectToolbarMenuItemByText

    Selects the toolbar menu item from the grid based on the text that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    menuItemTextThe text displayed on the toolbar menu item that you want to select.Data InStringNoneYes
  • SetCellValue

    Sets the value of a cell in a grid defined by the row number and the column code.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    valueThe value is set for the cell.Data InStringNoneYes
    rowNumberThe row number of the cell to modify.Data InIntegerNoneYes
    columnCodeThe code (or identifier) for the column of the cell to modify.Data InStringNoneYes

GuiLabel

  • GetText

    Retrieves the text of the label on the SAP screen.

GuiPassword

  • SetText

    Sets a given value as a password in the Password element on the SAP screen.

GuiRadioButton

  • IsChecked

    Returns true if the radio button is selected, and false if not selected.

  • Select

    Select the radio button on the SAP screen.

GuiStatusBar

  • GetStatus

    Retrieves the status information of a specific SAP screen.

GuiTab

  • SelectTab

    Selects the tab on the SAP screen.

GuiTableControl

  • DeselectVisibleRow

    Clears a visible row based on the row number that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the table.Data InIntegerNoneYes
  • DeselectAllVisibleRows

    Clears all the selected rows.

  • DeselectRow

    Clears a particular row based on the row number that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the table.Data InIntegerNoneYes
  • GetAllVisibleRows

    Returns all the visible rows in the table.

  • GetColumnNames

    Gets the list of active column headers in the table.

  • GetMaximumScrollOffset

    Gets the maximum value up to which scrolling is possible within the table.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    typeOption to select the type of scroll: horizontal or vertical.Data InEnumNoneYes
  • GetScrollPosition

    Gets the current position of the scroll bar.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    typeOption to select the type of scroll: horizontal or vertical.Data InEnumNoneYes
  • GetSingleRow

    Retrieves a specific row of the table defined by the row number.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the table.Data InIntegerNoneYes
  • GetTable

    Fetches the entire table.

  • GetVisibleRowCount

    Returns count of visible rows.

  • ScrollDownByOneRow

    Scrolls down to move the focus to the next row.

  • ScrollToHorizontalPosition

    Scrolls horizontally to move focus to the specified position.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    positionPosition of the scroll.Data InIntegerNoneYes
  • ScrollToNextPage

    Scrolls down to move the focus to the next page.

  • ScrollToPreviousPage

    Scrolls up to move the focus to the previous page.

  • ScrollToVerticalPosition

    Scrolls vertically to move focus to the specified position.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    positionPosition of the scroll.Data InIntegerNoneYes
  • ScrollUpByOneRow

    Scrolls up to move the focus to the previous row.

  • SelectAllRows

    Selects all the rows of the table, whether they are visible.

  • SelectSingleRow

    Selects the row of the table defined by the row number.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the table.Data InIntegerNoneYes
  • SelectCell

    Selects a cell in the table defined by the row number and the column code.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the table.Data InIntegerNoneYes
    columnCodeCode number of the column in the cell.Data InStringNoneYes
  • SelectVisibleRow

    Selects a visible row of the table defined by the row number.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    rowNumberThe row index or row number of a cell in the table.Data InIntegerNoneYes

GuiTextBox

  • GetText

    Retrieves the text of the text box on the SAP screen.

  • SetCaretPosition

    Sets the caret to the specified position in the text box on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    positionPosition of the caret.Data InIntegerNoneYes
  • SetText

    Sets a given value in the text box on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    textText value that you want to set in the text box.Data InStringNoneYes

GuiTree

  • Check

    Selects a particular item in a node on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
    columnThe column name or identifier within the specified node.Data InStringNoneYes
  • ClickNodeItem

    Clicks a particular item in a node on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
    columnThe column name or identifier within the specified node.Data InStringNoneYes
  • CollapseNodeItem

    Collapses a particular node item on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
  • DoubleClickNode

    Performs a double-click mouse action on a particular node on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
  • DoubleClickNodeItem

    Performs a double-click mouse action on a particular item in a node on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
    columnThe column name or identifier within the specified node.Data InStringNoneYes
  • GetColumnsKeyValuePair

    Retrieves the column name and column code as key-value pair from the columns of the tree.

  • GetTreeType

    Retrieves the type of the tree, such as simple, list, or column. If the type isn’t one of these, the method returns an empty value.

  • GetNodeKeyByPath

    Retrieves the node key based on the path that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    pathRoute or hierarchy to find a specific node in the tree.Data InStringNoneYes
  • GetNodeKeyByText

    Retrieves the node key based on the text that you specify.

ParameterDescriptionData port entry typeData typeDefault valueMandatory?
nodeTextThe text value that you want to match with a node key. The value is matched to any node's text, ignoring case and extra spaces.Data InStringNoneYes
  • GetNodeItemText

    Retrieves the text of the node item based on the key and name that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    keyThe key associated with the node. This key is the unique identifier of the node that you want to retrieve the text of.Data InStringNoneYes
    nameThe name of the specific item or property within the node, used to filter or further identify the node.Data InStringNoneYes
  • GetSelectedNodes

    Retrieves the values of the selected nodes.

  • GetNodeItemCheckBoxState

    Retrieves the state of a check box in a node item.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
    columnThe column name or identifier within the specified node.Data InStringNoneYes
  • PressNodeItemButton

    Clicks the button in a specified node item on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
    columnThe column name or identifier within the specified node.Data InStringNoneYes
  • SelectNodeItem

    Selects the specified node item on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
    columnThe column name or identifier within the specified node.Data InStringNoneYes
  • SelectNode

    Selects the specified node on the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
  • SelectContextMenuItemById

    Selects a context menu item based on the ID that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    typeThe type of context menu (Tree,Node,Node Item).Data InEnumNoneYes
    menuIdThe identifier of the context menu item that must be selected.Data InStringNoneYes
    nodeKeyUnique identifier for a specific node in the tree on which the context menu is to be invoked.Data InStringNoneYes
    ColumnNameThe name of the column within the node. This helps narrow down which specific column in the node the context menu should apply to.Data InStringNoneYes
  • SelectContextMenuItemByText

    Selects a context menu item based on the text that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    typeThe type of context menu (Tree,Node,Node Item).Data InEnumNoneYes
    menuTextThe visible text of the context menu item that you want to select.Data InStringNoneYes
    nodeKeyUnique identifier for a specific node in the tree on which the context menu is to be invoked.Data InStringNoneYes
    ColumnNameThe name of the column within the node. This name helps narrow down which specific column in the node the context menu should apply to.Data InStringNoneYes
  • SelectContextMenuItemByPosition

    Selects a context menu item based on the position that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    typeThe type of context menu (Tree,Node,Node Item).Data InEnumNoneYes
    menuPositionThe position of the context menu item that you want to select. It could be the index or a string representing the position.Data InStringNoneYes
    nodeKeyUnique identifier for a specific node in the tree on which the context menu is to be invoked.Data InStringNoneYes
    ColumnNameThe name of the column within the node. This name helps narrow down which specific column in the node the context menu should apply to.Data InStringNoneYes
  • Uncheck

    Clears a particular item in a node from the SAP screen.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    nodeKeyUnique identifier for a specific node within the tree.Data InStringNoneYes
    columnThe column name or identifier within the specified node.Data InStringNoneYes

GuiUserArea

  • ScrollToNextPage

    Scrolls down to move the focus to the next page.

  • ScrollToPreviousPage

    Scrolls up to move the focus to the previous page.

  • SetHorizontalScroll

    Scrolls horizontally to a value that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    scrolValNumeric value for scroll bar.Data InIntegerNoneYes
  • SetVerticalScroll

    Scrolls vertically to a value that you specify.

    ParameterDescriptionData port entry typeData typeDefault valueMandatory?
    scrolValNumeric value for scroll bar.Data InIntegerNoneYes