Class N2oNumberPicker
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.N2oNumberPicker
- All Implemented Interfaces:
Component,Control,NumberPicker,Element
Компонент ввода числа из диапазона
-
Field Summary
Fields inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
INPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Очистка поляvoidclick()Клик по полюvoidУменьшение значенияvoidУвеличение значенияprotected com.codeborne.selenide.SelenideElementprotected com.codeborne.selenide.SelenideElementvoidПроверка недоступности кнопки для уменьшения значенияvoidПроверка доступности кнопки для уменьшения значенияprotected com.codeborne.selenide.SelenideElementvoidПроверка недоступности кнопки для увеличения значенияvoidПроверка доступности кнопки для увеличения значенияvoidУстановка значения в поле вводаvoidПроверка недоступности поляvoidПроверка пустоты поляvoidshouldHaveMax(String max) Проверка соответствия максимального значенияvoidshouldHaveMin(String min) Проверка соответствия минимального значенияvoidshouldHaveStep(String step) Проверка соответствия шага изменения значения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
-
N2oNumberPicker
public N2oNumberPicker()
-
-
Method Details
-
shouldBeEmpty
public void shouldBeEmpty()Description copied from interface:ControlПроверка пустоты поля- Specified by:
shouldBeEmptyin interfaceControl
-
setValue
Description copied from interface:NumberPickerУстановка значения в поле ввода- Specified by:
setValuein interfaceNumberPicker- Parameters:
value- устанавливаемое значение
-
click
public void click()Description copied from interface:NumberPickerКлик по полю- Specified by:
clickin interfaceNumberPicker
-
clear
public void clear()Description copied from interface:NumberPickerОчистка поля- Specified by:
clearin interfaceNumberPicker
-
shouldHaveValue
Description copied from interface:ControlПроверка значения в поле- Specified by:
shouldHaveValuein interfaceControl- Parameters:
value- ожидаемое значение
-
clickPlusStepButton
public void clickPlusStepButton()Description copied from interface:NumberPickerУвеличение значения- Specified by:
clickPlusStepButtonin interfaceNumberPicker
-
minusStepButtonShouldBeEnabled
public void minusStepButtonShouldBeEnabled()Description copied from interface:NumberPickerПроверка доступности кнопки для уменьшения значения- Specified by:
minusStepButtonShouldBeEnabledin interfaceNumberPicker
-
minusStepButtonShouldBeDisabled
public void minusStepButtonShouldBeDisabled()Description copied from interface:NumberPickerПроверка недоступности кнопки для уменьшения значения- Specified by:
minusStepButtonShouldBeDisabledin interfaceNumberPicker
-
shouldBeDisabled
public void shouldBeDisabled()Description copied from interface:ControlПроверка недоступности поля- Specified by:
shouldBeDisabledin interfaceControl- Overrides:
shouldBeDisabledin classN2oControl
-
clickMinusStepButton
public void clickMinusStepButton()Description copied from interface:NumberPickerУменьшение значения- Specified by:
clickMinusStepButtonin interfaceNumberPicker
-
plusStepButtonShouldBeEnabled
public void plusStepButtonShouldBeEnabled()Description copied from interface:NumberPickerПроверка доступности кнопки для увеличения значения- Specified by:
plusStepButtonShouldBeEnabledin interfaceNumberPicker
-
plusStepButtonShouldBeDisabled
public void plusStepButtonShouldBeDisabled()Description copied from interface:NumberPickerПроверка недоступности кнопки для увеличения значения- Specified by:
plusStepButtonShouldBeDisabledin interfaceNumberPicker
-
shouldHaveMin
Description copied from interface:NumberPickerПроверка соответствия минимального значения- Specified by:
shouldHaveMinin interfaceNumberPicker- Parameters:
min- ожидаемое минимальное значение
-
shouldHaveMax
Description copied from interface:NumberPickerПроверка соответствия максимального значения- Specified by:
shouldHaveMaxin interfaceNumberPicker- Parameters:
max- ожидаемое максимального значение
-
shouldHaveStep
Description copied from interface:NumberPickerПроверка соответствия шага изменения значения- Specified by:
shouldHaveStepin interfaceNumberPicker- Parameters:
step- ожидаемый шаг
-
inputElement
protected com.codeborne.selenide.SelenideElement inputElement() -
minusButton
protected com.codeborne.selenide.SelenideElement minusButton() -
plusButton
protected com.codeborne.selenide.SelenideElement plusButton()
-