Class N2oComponent
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
- Direct Known Subclasses:
N2oAlert.N2oCloseButton,N2oArea,N2oButton,N2oCalendarAgendaView,N2oCalendarEvent,N2oCalendarTimeViewHeader,N2oCalendarToolbar,N2oCard,N2oCard.N2oBlock,N2oCard.N2oColumn,N2oCell,N2oControl,N2oDrawer,N2oDropDown,N2oDropDown.N2oDropDownItem,N2oDropDownTree,N2oDropDownTree.N2oDropDownTreeItem,N2oField,N2oFieldSet,N2oFooter,N2oMenuItem,N2oModal,N2oMultiFieldSetItem,N2oPage,N2oPage.N2oBreadcrumb,N2oPage.N2oBreadcrumb.N2oCrumb,N2oPage.N2oDialog,N2oPage.N2oOverlay,N2oPage.N2oPopover,N2oPaging,N2oRegion,N2oScrollspyRegion.N2oDropdownMenuItem,N2oScrollspyRegion.N2oMenu,N2oScrollspyRegion.N2oMenuItem,N2oSearchBar,N2oSearchItem,N2oSidebar,N2oSimpleHeader,N2oSnippet,N2oStandardCalendarView,N2oStandardWidget.N2oWidgetToolbar,N2oTableHeader,N2oTabsRegion.N2oTabItem,N2oTile,N2oTooltip,N2oTreeWidget.N2oTreeItem,N2oWidget
Абстрактная реализация компонента для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidПроверка скрытости компонент на страницеvoidПроверка видимости компонент на страницеvoidПроверка существования компонент на страницеvoidshouldHaveCssClass(String cssClass) Проверка наличия css класса у компонентvoidshouldHaveStyle(String style) Проверка стиля компонент на соответствиеvoidshouldNotExists(Duration... duration) Проверка отсутствия компонент на страницеMethods 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, shouldMethods inherited from interface net.n2oapp.framework.autotest.api.component.Element
element, setElement
-
Constructor Details
-
N2oComponent
public N2oComponent()
-
-
Method Details
-
shouldExists
public void shouldExists()Description copied from interface:ComponentПроверка существования компонент на странице- Specified by:
shouldExistsin interfaceComponent
-
shouldNotExists
Description copied from interface:ComponentПроверка отсутствия компонент на странице- Specified by:
shouldNotExistsin interfaceComponent
-
shouldBeVisible
public void shouldBeVisible()Description copied from interface:ComponentПроверка видимости компонент на странице- Specified by:
shouldBeVisiblein interfaceComponent
-
shouldBeHidden
public void shouldBeHidden()Description copied from interface:ComponentПроверка скрытости компонент на странице- Specified by:
shouldBeHiddenin interfaceComponent
-
shouldHaveCssClass
Description copied from interface:ComponentПроверка наличия css класса у компонент- Specified by:
shouldHaveCssClassin interfaceComponent- Parameters:
cssClass- ожидаемый css класс
-
shouldHaveStyle
Description copied from interface:ComponentПроверка стиля компонент на соответствие- Specified by:
shouldHaveStylein interfaceComponent- Parameters:
style- ожидаемый стиль компонент
-