Class N2oComponent

java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
All Implemented Interfaces:
Component, Element
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

public abstract class N2oComponent extends N2oElement implements Component
Абстрактная реализация компонента для автотестирования
  • Constructor Details

    • N2oComponent

      public N2oComponent()
  • Method Details

    • shouldExists

      public void shouldExists()
      Description copied from interface: Component
      Проверка существования компонент на странице
      Specified by:
      shouldExists in interface Component
    • shouldNotExists

      public void shouldNotExists(Duration... duration)
      Description copied from interface: Component
      Проверка отсутствия компонент на странице
      Specified by:
      shouldNotExists in interface Component
    • shouldBeVisible

      public void shouldBeVisible()
      Description copied from interface: Component
      Проверка видимости компонент на странице
      Specified by:
      shouldBeVisible in interface Component
    • shouldBeHidden

      public void shouldBeHidden()
      Description copied from interface: Component
      Проверка скрытости компонент на странице
      Specified by:
      shouldBeHidden in interface Component
    • shouldHaveCssClass

      public void shouldHaveCssClass(String cssClass)
      Description copied from interface: Component
      Проверка наличия css класса у компонент
      Specified by:
      shouldHaveCssClass in interface Component
      Parameters:
      cssClass - ожидаемый css класс
    • shouldHaveStyle

      public void shouldHaveStyle(String style)
      Description copied from interface: Component
      Проверка стиля компонент на соответствие
      Specified by:
      shouldHaveStyle in interface Component
      Parameters:
      style - ожидаемый стиль компонент