Class N2oStandardButton
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.button.N2oButton
net.n2oapp.framework.autotest.impl.component.button.N2oStandardButton
- All Implemented Interfaces:
Badge,Button,StandardButton,Component,Element
Стандартная кнопка для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbadgeShouldHavePosition(BadgePosition position) Проверка позиции баджа на соответствие ожидаемой позицииvoidПроверка круглой формы кнопкиvoidshouldHaveDescription(String description, Duration... duration) Проверка описания на соответствиеvoidshouldHaveIcon(String iconName) Проверка класса иконки у кнопки на соответствие ожидаемому значениюvoidshouldHaveLabel(String label, Duration... duration) Проверка точного соответствия метки (без учета регистра) у кнопкиvoidПроверка не круглой формы кнопкиvoidПроверка отсутствия иконки у кнопкиMethods inherited from class net.n2oapp.framework.autotest.impl.component.button.N2oButton
click, hover, shouldBeDisabled, shouldBeEnabled, shouldHaveColor, tooltipMethods 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.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, setElement
-
Constructor Details
-
N2oStandardButton
public N2oStandardButton()
-
-
Method Details
-
shouldHaveLabel
Description copied from interface:StandardButtonПроверка точного соответствия метки (без учета регистра) у кнопки- Specified by:
shouldHaveLabelin interfaceStandardButton- Parameters:
label- ожидаемое значение метки
-
shouldHaveDescription
Description copied from interface:StandardButtonПроверка описания на соответствие- Specified by:
shouldHaveDescriptionin interfaceStandardButton- Parameters:
description- ожидаемый текст описания
-
shouldHaveIcon
Description copied from interface:StandardButtonПроверка класса иконки у кнопки на соответствие ожидаемому значению- Specified by:
shouldHaveIconin interfaceStandardButton- Parameters:
iconName- ожидаемый класс иконки
-
shouldNotHaveIcon
public void shouldNotHaveIcon()Description copied from interface:StandardButtonПроверка отсутствия иконки у кнопки- Specified by:
shouldNotHaveIconin interfaceStandardButton
-
badgeShouldHavePosition
Description copied from interface:BadgeПроверка позиции баджа на соответствие ожидаемой позиции- Specified by:
badgeShouldHavePositionin interfaceBadge- Parameters:
position- ожидаемая позиция баджа
-
shouldBeRounded
public void shouldBeRounded()Description copied from interface:StandardButtonПроверка круглой формы кнопки- Specified by:
shouldBeRoundedin interfaceStandardButton
-
shouldNotBeRounded
public void shouldNotBeRounded()Description copied from interface:StandardButtonПроверка не круглой формы кнопки- Specified by:
shouldNotBeRoundedin interfaceStandardButton
-