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

    Function feFindListItemByTitle

    • Finds the index of a list item by its title text.

      Parameters

      • page: FEListPage

        Playwright Page (or compatible subset).

      • listId: string

        The UI5 control ID of the list.

      • title: string

        The title text to search for (exact match).

      Returns Promise<number>

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

      ControlError if the list control is not found.

      const index = await feFindListItemByTitle(page, 'myApp--productList', 'Widget A');