Class N2oTextEditor
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.N2oTextEditor
- All Implemented Interfaces:
Component,Control,TextEditor,Element
Компонент редактирования текста для автотестирования
-
Field Summary
Fields inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
INPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclick()Клик по полюprotected com.codeborne.selenide.SelenideElementeditor()voidУстановка значения в полеvoidПроверка недоступности поляvoidПроверка пустоты поляvoidshouldHaveValue(String value, Duration... duration) Проверка значения в полеMethods inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
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
shouldBeEnabledMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oTextEditor
public N2oTextEditor()
-
-
Method Details
-
shouldBeEmpty
public void shouldBeEmpty()Description copied from interface:ControlПроверка пустоты поля- Specified by:
shouldBeEmptyin interfaceControl
-
setValue
Description copied from interface:TextEditorУстановка значения в поле- Specified by:
setValuein interfaceTextEditor- Parameters:
value- устанавливаемое значение
-
click
public void click()Description copied from interface:TextEditorКлик по полю- Specified by:
clickin interfaceTextEditor
-
shouldHaveValue
Description copied from interface:ControlПроверка значения в поле- Specified by:
shouldHaveValuein interfaceControl- Parameters:
value- ожидаемое значение
-
shouldBeDisabled
public void shouldBeDisabled()Description copied from interface:ControlПроверка недоступности поля- Specified by:
shouldBeDisabledin interfaceControl- Overrides:
shouldBeDisabledin classN2oControl
-
editor
protected com.codeborne.selenide.SelenideElement editor()
-