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

    Function feSelectListItem

    • Selects or deselects a list item at the specified index.

      Parameters

      • page: FEListPage

        Playwright Page (or compatible subset).

      • listId: string

        The UI5 control ID of the list.

      • itemIndex: number

        Zero-based index of the item to select.

      • selected: boolean

        true to select, false to deselect.

      Returns Promise<void>

      Calls setSelected(selected) on the list item and fires selectionChange on the list.

      ControlError with ERR_CONTROL_AGGREGATION if the index is invalid.

      await feSelectListItem(page, 'myApp--productList', 0, true);