Class N2oRadioGroup
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.N2oRadioGroup
- All Implemented Interfaces:
Component,Control,RadioGroup,Element
Компонент радиокнопок для автотестирования
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.control.RadioGroup
RadioGroup.RadioType -
Field Summary
Fields inherited from class net.n2oapp.framework.autotest.impl.component.control.N2oControl
INPUT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidВыбрать радио-кнопку по метке, если радио-кнопка выбрана, то ничего изменено не будетprotected com.codeborne.selenide.ElementsCollectionvoidshouldBeChecked(String label, Duration... duration) Проверка того, что радио-кнопка с заданной меткой выбранаvoidПроверка недоступности поляvoidПроверка пустоты поляvoidshouldBeUnchecked(String label, Duration... duration) voidshouldHaveOptions(String[] labels, Duration... duration) Проверка существования радио-кнопок с заданными метками в радио-группеvoidПроверка соответствия типа радио-кнопокvoidshouldHaveValue(String value, Duration... duration) Проверка значения в полеvoidshouldNotHaveOptions(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
-
N2oRadioGroup
public N2oRadioGroup()
-
-
Method Details
-
shouldHaveValue
Description copied from interface:ControlПроверка значения в поле- Specified by:
shouldHaveValuein interfaceControl- Parameters:
value- ожидаемое значение
-
shouldBeEmpty
public void shouldBeEmpty()Description copied from interface:ControlПроверка пустоты поля- Specified by:
shouldBeEmptyin interfaceControl
-
shouldBeChecked
Description copied from interface:RadioGroupПроверка того, что радио-кнопка с заданной меткой выбрана- Specified by:
shouldBeCheckedin interfaceRadioGroup- Parameters:
label- метка проверяемой радио-кнопки
-
check
Description copied from interface:RadioGroupВыбрать радио-кнопку по метке, если радио-кнопка выбрана, то ничего изменено не будет- Specified by:
checkin interfaceRadioGroup- Parameters:
label- метка радио-кнопки, которую надо выбрать
-
shouldHaveOptions
Description copied from interface:RadioGroupПроверка существования радио-кнопок с заданными метками в радио-группе- Specified by:
shouldHaveOptionsin interfaceRadioGroup- Parameters:
labels- метки ожидаемых радио-кнопок
-
shouldNotHaveOptions
Description copied from interface:RadioGroupПроверка отсутствия радио-кнопок- Specified by:
shouldNotHaveOptionsin interfaceRadioGroup
-
shouldHaveType
Description copied from interface:RadioGroupПроверка соответствия типа радио-кнопок- Specified by:
shouldHaveTypein interfaceRadioGroup- Parameters:
type- ожидаемый тип радио-кнопок
-
shouldBeDisabled
public void shouldBeDisabled()Description copied from interface:ControlПроверка недоступности поля- Specified by:
shouldBeDisabledin interfaceControl- Overrides:
shouldBeDisabledin classN2oControl
-
shouldBeUnchecked
- Specified by:
shouldBeUncheckedin interfaceRadioGroup
-
radioInput
protected com.codeborne.selenide.ElementsCollection radioInput()
-