All Implemented Interfaces:
Component, Control, NumberPicker, Element

public class N2oNumberPicker extends N2oControl implements NumberPicker
Компонент ввода числа из диапазона
  • Constructor Details

    • N2oNumberPicker

      public N2oNumberPicker()
  • Method Details

    • shouldBeEmpty

      public void shouldBeEmpty()
      Description copied from interface: Control
      Проверка пустоты поля
      Specified by:
      shouldBeEmpty in interface Control
    • setValue

      public void setValue(String value)
      Description copied from interface: NumberPicker
      Установка значения в поле ввода
      Specified by:
      setValue in interface NumberPicker
      Parameters:
      value - устанавливаемое значение
    • click

      public void click()
      Description copied from interface: NumberPicker
      Клик по полю
      Specified by:
      click in interface NumberPicker
    • clear

      public void clear()
      Description copied from interface: NumberPicker
      Очистка поля
      Specified by:
      clear in interface NumberPicker
    • shouldHaveValue

      public void shouldHaveValue(String value, Duration... duration)
      Description copied from interface: Control
      Проверка значения в поле
      Specified by:
      shouldHaveValue in interface Control
      Parameters:
      value - ожидаемое значение
    • clickPlusStepButton

      public void clickPlusStepButton()
      Description copied from interface: NumberPicker
      Увеличение значения
      Specified by:
      clickPlusStepButton in interface NumberPicker
    • minusStepButtonShouldBeEnabled

      public void minusStepButtonShouldBeEnabled()
      Description copied from interface: NumberPicker
      Проверка доступности кнопки для уменьшения значения
      Specified by:
      minusStepButtonShouldBeEnabled in interface NumberPicker
    • minusStepButtonShouldBeDisabled

      public void minusStepButtonShouldBeDisabled()
      Description copied from interface: NumberPicker
      Проверка недоступности кнопки для уменьшения значения
      Specified by:
      minusStepButtonShouldBeDisabled in interface NumberPicker
    • shouldBeDisabled

      public void shouldBeDisabled()
      Description copied from interface: Control
      Проверка недоступности поля
      Specified by:
      shouldBeDisabled in interface Control
      Overrides:
      shouldBeDisabled in class N2oControl
    • clickMinusStepButton

      public void clickMinusStepButton()
      Description copied from interface: NumberPicker
      Уменьшение значения
      Specified by:
      clickMinusStepButton in interface NumberPicker
    • plusStepButtonShouldBeEnabled

      public void plusStepButtonShouldBeEnabled()
      Description copied from interface: NumberPicker
      Проверка доступности кнопки для увеличения значения
      Specified by:
      plusStepButtonShouldBeEnabled in interface NumberPicker
    • plusStepButtonShouldBeDisabled

      public void plusStepButtonShouldBeDisabled()
      Description copied from interface: NumberPicker
      Проверка недоступности кнопки для увеличения значения
      Specified by:
      plusStepButtonShouldBeDisabled in interface NumberPicker
    • shouldHaveMin

      public void shouldHaveMin(String min)
      Description copied from interface: NumberPicker
      Проверка соответствия минимального значения
      Specified by:
      shouldHaveMin in interface NumberPicker
      Parameters:
      min - ожидаемое минимальное значение
    • shouldHaveMax

      public void shouldHaveMax(String max)
      Description copied from interface: NumberPicker
      Проверка соответствия максимального значения
      Specified by:
      shouldHaveMax in interface NumberPicker
      Parameters:
      max - ожидаемое максимального значение
    • shouldHaveStep

      public void shouldHaveStep(String step)
      Description copied from interface: NumberPicker
      Проверка соответствия шага изменения значения
      Specified by:
      shouldHaveStep in interface NumberPicker
      Parameters:
      step - ожидаемый шаг
    • inputElement

      protected com.codeborne.selenide.SelenideElement inputElement()
    • minusButton

      protected com.codeborne.selenide.SelenideElement minusButton()
    • plusButton

      protected com.codeborne.selenide.SelenideElement plusButton()