Class N2oField
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.field.N2oField
- Direct Known Subclasses:
N2oButtonField,N2oIntervalField,N2oStandardField
Поле формы для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementlabel()voidПроверка пустоты поляvoidshouldHaveLabel(String label, Duration... duration) Проверка метки на соответствиеvoidПроверка того, что метки не существуетMethods 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.Element
element, setElementMethods inherited from interface net.n2oapp.framework.autotest.api.component.fieldset.Help
clickHelp, shouldHaveHelp
-
Constructor Details
-
N2oField
public N2oField()
-
-
Method Details
-
shouldHaveLabel
Description copied from interface:FieldПроверка метки на соответствие- Specified by:
shouldHaveLabelin interfaceField- Parameters:
label- ожидаемое значение метки
-
shouldNotHaveLabel
public void shouldNotHaveLabel()Description copied from interface:FieldПроверка того, что метки не существует- Specified by:
shouldNotHaveLabelin interfaceField
-
shouldHaveEmptyLabel
public void shouldHaveEmptyLabel()Description copied from interface:FieldПроверка пустоты поля- Specified by:
shouldHaveEmptyLabelin interfaceField
-
label
protected com.codeborne.selenide.SelenideElement label()
-