All Implemented Interfaces:
Component, Control, InputMoneyControl, Element

public class N2oInputMoney extends N2oControl implements InputMoneyControl
Компонент ввода денежных единиц для автотестирования
  • Field Details

  • Constructor Details

    • N2oInputMoney

      public N2oInputMoney()
  • Method Details

    • getValue

      public String getValue()
      Specified by:
      getValue in interface InputMoneyControl
      Returns:
      значение из поля ввода
    • setValue

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

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

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

      public void shouldHavePlaceholder(String value)
      Description copied from interface: InputMoneyControl
      Проверка соответствия текста подсказки для ввода
      Specified by:
      shouldHavePlaceholder in interface InputMoneyControl
      Parameters:
      value - ожидаемый текст
    • click

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

      public void backspace()
      Description copied from interface: InputMoneyControl
      Ручная очистка поля ввода через клавишу backspace
      Specified by:
      backspace in interface InputMoneyControl
    • cellInputElement

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

      protected com.codeborne.selenide.SelenideElement inputElement()