Praman — AI-First SAP UI5 Test Automation Platform - v1.0.1
    Preparing search index...

    Function sortByColumn

    • Sorts a table by a specific column.

      Parameters

      • page: TableFilterSortPage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID.

      • columnIndex: number

        Zero-based column index.

      • Optionaloptions: TableSortOptions

        Sort options (descending defaults to false).

      Returns Promise<void>

      ControlError if the sort cannot be applied.

      await sortByColumn(page, 'myTable', 0, { descending: true });