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

    Function setAndValidateDate

    • Sets a date and validates that the control does not enter an error state.

      Parameters

      • page: DatePage

        Playwright Page (or compatible subset).

      • controlId: string

        The ID of the DatePicker control.

      • date: DateInput

        The date to set.

      • Optionaloptions: DateOptions

        Optional date operation settings.

      Returns Promise<void>

      ControlError if the control enters an error value state after setting.

      await setAndValidateDate(page, 'datePicker1', '2024-01-15');