Interface OutputText
- All Known Implementing Classes:
N2oOutputText
Компонент вывода однострочного текста для автотестирования
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()voidshouldHaveIcon(String icon) Проверка соответствия иконки у поляvoidПроверка того, что поле не пустоеvoidshouldNotHaveValue(String value) Проверка того, что поле не содержит ожидаемое значение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
-
shouldHaveIcon
Проверка соответствия иконки у поля- Parameters:
icon- ожидаемая иконка
-
shouldNotBeEmpty
void shouldNotBeEmpty()Проверка того, что поле не пустое -
shouldNotHaveValue
Проверка того, что поле не содержит ожидаемое значение- Parameters:
value- ожидаемое значение
-
getValue
String getValue()- Returns:
- Значение из поля
-