Class N2oPasswordControl
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.control.N2oControl
net.n2oapp.framework.autotest.impl.component.control.N2oPasswordControl
- All Implemented Interfaces:
Component,Control,PasswordControl,Element
Поле ввода пароля для автотестирования
-
Field Summary
Fields inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
INPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementvoidКлик по кнопке отображения пароляgetValue()protected com.codeborne.selenide.SelenideElementvoidВвод значение в полеvoidПроверка пустоты поляvoidshouldHavePlaceholder(String value) Проверка соответствия текста подсказки для вводаvoidshouldHaveValue(String value, Duration... duration) Проверка значения в полеvoidПроверка того, что пароль виденvoidПроверка того, что пароль не виденMethods inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
shouldBeDisabled, shouldBeEnabledMethods inherited from class net.n2oapp.framework.autotest.impl.component.N2oComponent
shouldBeHidden, shouldBeVisible, shouldExists, shouldHaveCssClass, shouldHaveStyle, shouldNotExistsMethods inherited from class net.n2oapp.framework.autotest.impl.component.N2oElement
element, setElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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, shouldBeEnabledMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oPasswordControl
public N2oPasswordControl()
-
-
Method Details
-
getValue
- Specified by:
getValuein interfacePasswordControl- Returns:
- Значение из поля
-
setValue
Description copied from interface:PasswordControlВвод значение в поле- Specified by:
setValuein interfacePasswordControl- Parameters:
value- вводимое значение
-
shouldBeEmpty
public void shouldBeEmpty()Description copied from interface:ControlПроверка пустоты поля- Specified by:
shouldBeEmptyin interfaceControl
-
shouldHaveValue
Description copied from interface:ControlПроверка значения в поле- Specified by:
shouldHaveValuein interfaceControl- Parameters:
value- ожидаемое значение
-
shouldHavePlaceholder
Description copied from interface:PasswordControlПроверка соответствия текста подсказки для ввода- Specified by:
shouldHavePlaceholderin interfacePasswordControl- Parameters:
value- ожидаемый текст
-
clickEyeButton
public void clickEyeButton()Description copied from interface:PasswordControlКлик по кнопке отображения пароля- Specified by:
clickEyeButtonin interfacePasswordControl
-
shouldHaveVisiblePassword
public void shouldHaveVisiblePassword()Description copied from interface:PasswordControlПроверка того, что пароль виден- Specified by:
shouldHaveVisiblePasswordin interfacePasswordControl
-
shouldNotHaveVisiblePassword
public void shouldNotHaveVisiblePassword()Description copied from interface:PasswordControlПроверка того, что пароль не виден- Specified by:
shouldNotHaveVisiblePasswordin interfacePasswordControl
-
inputElement
protected com.codeborne.selenide.SelenideElement inputElement() -
cellInputElement
protected com.codeborne.selenide.SelenideElement cellInputElement()
-