Class N2oPasswordControl

All Implemented Interfaces:
Component, Control, PasswordControl, Element

public class N2oPasswordControl extends N2oControl implements PasswordControl
Поле ввода пароля для автотестирования
  • Constructor Details

    • N2oPasswordControl

      public N2oPasswordControl()
  • Method Details

    • getValue

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

      public void setValue(String value)
      Description copied from interface: PasswordControl
      Ввод значение в поле
      Specified by:
      setValue in interface PasswordControl
      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: PasswordControl
      Проверка соответствия текста подсказки для ввода
      Specified by:
      shouldHavePlaceholder in interface PasswordControl
      Parameters:
      value - ожидаемый текст
    • clickEyeButton

      public void clickEyeButton()
      Description copied from interface: PasswordControl
      Клик по кнопке отображения пароля
      Specified by:
      clickEyeButton in interface PasswordControl
    • shouldHaveVisiblePassword

      public void shouldHaveVisiblePassword()
      Description copied from interface: PasswordControl
      Проверка того, что пароль виден
      Specified by:
      shouldHaveVisiblePassword in interface PasswordControl
    • shouldNotHaveVisiblePassword

      public void shouldNotHaveVisiblePassword()
      Description copied from interface: PasswordControl
      Проверка того, что пароль не виден
      Specified by:
      shouldNotHaveVisiblePassword in interface PasswordControl
    • inputElement

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

      protected com.codeborne.selenide.SelenideElement cellInputElement()