Interface PasswordControl
- All Known Implementing Classes:
N2oPasswordControl
Ввод пароля для автотестирования
-
Method Summary
Modifier and TypeMethodDescriptionvoidКлик по кнопке отображения пароляgetValue()voidВвод значение в полеvoidshouldHavePlaceholder(String value) Проверка соответствия текста подсказки для вводаvoidПроверка того, что пароль виденvoidПроверка того, что пароль не виденMethods inherited from interface net.n2oapp.framework.autotest.api.component.Component
should, should, should, shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from interface net.n2oapp.framework.autotest.api.component.control.Control
shouldBeDisabled, shouldBeEmpty, shouldBeEnabled, shouldHaveValueMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Method Details
-
getValue
String getValue()- Returns:
- Значение из поля
-
setValue
Ввод значение в поле- Parameters:
value- вводимое значение
-
shouldHavePlaceholder
Проверка соответствия текста подсказки для ввода- Parameters:
value- ожидаемый текст
-
clickEyeButton
void clickEyeButton()Клик по кнопке отображения пароля -
shouldHaveVisiblePassword
void shouldHaveVisiblePassword()Проверка того, что пароль виден -
shouldNotHaveVisiblePassword
void shouldNotHaveVisiblePassword()Проверка того, что пароль не виден
-