Class N2oInputMoney
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.N2oInputMoney
- All Implemented Interfaces:
Component,Control,InputMoneyControl,Element
Компонент ввода денежных единиц для автотестирования
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidРучная очистка поля ввода через клавишу backspaceprotected com.codeborne.selenide.SelenideElementvoidclick()Клик по полюgetValue()protected com.codeborne.selenide.SelenideElementvoidУстановка значения в поле вводаvoidПроверка пустоты поляvoidshouldHavePlaceholder(String value) Проверка соответствия текста подсказки для вводаvoidshouldHaveValue(String value, Duration... duration) Проверка значения в поле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
-
Field Details
-
INPUT
- See Also:
-
-
Constructor Details
-
N2oInputMoney
public N2oInputMoney()
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceInputMoneyControl- Returns:
- значение из поля ввода
-
setValue
Description copied from interface:InputMoneyControlУстановка значения в поле ввода- Specified by:
setValuein interfaceInputMoneyControl- 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:InputMoneyControlПроверка соответствия текста подсказки для ввода- Specified by:
shouldHavePlaceholderin interfaceInputMoneyControl- Parameters:
value- ожидаемый текст
-
click
public void click()Description copied from interface:InputMoneyControlКлик по полю- Specified by:
clickin interfaceInputMoneyControl
-
backspace
public void backspace()Description copied from interface:InputMoneyControlРучная очистка поля ввода через клавишу backspace- Specified by:
backspacein interfaceInputMoneyControl
-
cellInputElement
protected com.codeborne.selenide.SelenideElement cellInputElement() -
inputElement
protected com.codeborne.selenide.SelenideElement inputElement()
-