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

    Function selectTableRow

    • Ai

      Selects a table row by index.

      Parameters

      • page: TablePage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID.

      • rowIndex: number

        Zero-based row index.

      • Optionaloptions: TableOptions

        Table options.

      Returns Promise<void>

      ui5.table.selectRow

      Select (highlight) a table row by its zero-based index.

      On success, the row is selected in the table's selection model.

      Uses SelectionPlugin for grid tables, setSelectedItem for responsive tables.

      sap.m.Table, sap.ui.table.Table — row selection API

      Select a specific row for subsequent actions (delete, edit, navigate).

      `await selectTableRow(page, 'myTable', 0);`