Praman — Agent-First SAP UI5 Test Automation Plugin - v1.2.0
    Preparing search index...

    Function getTableRowCount

    • Ai

      Returns the total row count from a UI5 table's binding.

      Parameters

      • page: TablePage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID.

      • Optionaloptions: TableOptions

        Table options.

      Returns Promise<number>

      ui5.table.getRowCount

      Get the total number of rows in a table (from binding length or items count).

      Returns the row count from the table binding (0 if no binding or no data).

      For grid tables, reads binding.getLength(). For responsive tables, reads items.length.

      sap.m.Table, sap.ui.table.Table — row binding length

      Verify expected data volume in a table before proceeding with row operations.

      `const count = await getTableRowCount(page, 'myTable');`