Class N2oOutputText
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.N2oOutputText
- All Implemented Interfaces:
Component,Control,OutputText,Element
Компонент вывода однострочного текста для автотестирования
-
Field Summary
Fields inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
INPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetValue()voidПроверка пустоты поляvoidshouldHaveIcon(String icon) Проверка соответствия иконки у поляvoidshouldHaveValue(String value, Duration... duration) Проверка значения в полеvoidПроверка того, что поле не пустоеvoidshouldNotHaveValue(String value) Проверка того, что поле не содержит ожидаемое значениеprotected com.codeborne.selenide.SelenideElementtext()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
-
N2oOutputText
public N2oOutputText()
-
-
Method Details
-
shouldBeEmpty
public void shouldBeEmpty()Description copied from interface:ControlПроверка пустоты поля- Specified by:
shouldBeEmptyin interfaceControl
-
shouldNotBeEmpty
public void shouldNotBeEmpty()Description copied from interface:OutputTextПроверка того, что поле не пустое- Specified by:
shouldNotBeEmptyin interfaceOutputText
-
shouldHaveValue
Description copied from interface:ControlПроверка значения в поле- Specified by:
shouldHaveValuein interfaceControl- Parameters:
value- ожидаемое значение
-
shouldHaveIcon
Description copied from interface:OutputTextПроверка соответствия иконки у поля- Specified by:
shouldHaveIconin interfaceOutputText- Parameters:
icon- ожидаемая иконка
-
shouldNotHaveValue
Description copied from interface:OutputTextПроверка того, что поле не содержит ожидаемое значение- Specified by:
shouldNotHaveValuein interfaceOutputText- Parameters:
value- ожидаемое значение
-
getValue
- Specified by:
getValuein interfaceOutputText- Returns:
- Значение из поля
-
text
protected com.codeborne.selenide.SelenideElement text()
-