Interface ButtonField
- All Known Implementing Classes:
N2oButtonField
Модель компонента ButtonField для автотестирования
-
Method Summary
Modifier and TypeMethodDescriptionvoidbadgeShouldHavePosition(BadgePosition position) Проверка соответствия позиции бейджа ожидаемой позицииvoidПроверка круглой формы кнопкиvoidshouldHaveIcon(String iconName) Проверка класса иконки у кнопки на соответствие ожидаемому значениюvoidПроверка не круглой формы кнопкиvoidtooltipShouldHavePosition(String position) Проверка соответствия позиции подсказкиMethods inherited from interface net.n2oapp.framework.autotest.api.component.badge.Badge
badgeShouldExists, badgeShouldHaveColor, badgeShouldHaveImage, badgeShouldHaveImagePosition, badgeShouldHaveImageShape, badgeShouldHaveShape, badgeShouldHaveText, badgeShouldNotExists, badgeShouldNotHaveTextMethods inherited from interface net.n2oapp.framework.autotest.api.component.button.Button
click, hover, shouldBeDisabled, shouldBeEnabled, shouldHaveColor, tooltipMethods 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.field.Field
shouldHaveEmptyLabel, shouldHaveLabel, shouldNotHaveLabelMethods inherited from interface net.n2oapp.framework.autotest.api.component.fieldset.Help
clickHelp, shouldHaveHelp
-
Method Details
-
shouldHaveIcon
Проверка класса иконки у кнопки на соответствие ожидаемому значению- Parameters:
iconName- ожидаемый класс иконки
-
tooltipShouldHavePosition
Проверка соответствия позиции подсказки- Parameters:
position- ожидаемая позиция подсказки
-
badgeShouldHavePosition
Проверка соответствия позиции бейджа ожидаемой позиции- Specified by:
badgeShouldHavePositionin interfaceBadge- Parameters:
position- ожидаемая позиция бейджа
-
shouldBeRounded
void shouldBeRounded()Проверка круглой формы кнопки -
shouldNotBeRounded
void shouldNotBeRounded()Проверка не круглой формы кнопки
-