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

    Function feFindRowByValues

    • Finds the first row index where all specified column values match.

      Parameters

      • page: FETablePage

        Playwright Page (or compatible subset).

      • tableId: string

        The UI5 control ID of the table.

      • values: Readonly<Record<string, string>>

        A record mapping column names to expected cell values.

      Returns Promise<number>

      The zero-based index of the first matching row, or -1 if not found.

      All column lookup and row matching logic runs inside the browser script. Returns -1 if no matching row is found.

      ControlError if the table control is not found.

      const rowIdx = await feFindRowByValues(page, 'myApp--productTable', { Product: 'Widget A', Status: 'Active' });