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

    Function getSortOrder

    • Returns the current sort state of a table column.

      Parameters

      • page: TableFilterSortPage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID.

      • columnIndex: number

        Zero-based column index.

      Returns Promise<SortOrderInfo | null>

      Sort info, or null if the column is not sorted.

      const sort = await getSortOrder(page, 'myTable', 0);