Class N2oTabsRegion
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.region.N2oRegion
net.n2oapp.framework.autotest.impl.component.region.N2oTabsRegion
- All Implemented Interfaces:
Component,Element,Region,TabsRegion
Регион в виде вкладок для автотестирования
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.region.TabsRegion
TabsRegion.TabItem -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.SelenideElementprotected com.codeborne.selenide.ElementsCollectionnavItem()voidshouldHaveMaxHeight(int height) Проверка максимальной высотыvoidПроверка наличия полосы прокруткиvoidshouldHaveSize(int size) Проверка количества вкладокvoidПроверка отсутствия полосы прокруткиtab(int index) Возвращает элемент вкладку по номеруtab(com.codeborne.selenide.WebElementCondition by) Возвращает элемент вкладку по словиюMethods inherited from class net.n2oapp.framework.autotest.impl.component.region.N2oRegion
firstLevelElementsMethods 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.Element
element, setElement
-
Constructor Details
-
N2oTabsRegion
public N2oTabsRegion()
-
-
Method Details
-
tab
Description copied from interface:TabsRegionВозвращает элемент вкладку по номеру- Specified by:
tabin interfaceTabsRegion- Parameters:
index- номер вкладки- Returns:
- Компонент вкладка для автотестирования
-
shouldHaveSize
public void shouldHaveSize(int size) Description copied from interface:TabsRegionПроверка количества вкладок- Specified by:
shouldHaveSizein interfaceTabsRegion- Parameters:
size- ожидаемое количество
-
shouldHaveMaxHeight
public void shouldHaveMaxHeight(int height) Description copied from interface:TabsRegionПроверка максимальной высоты- Specified by:
shouldHaveMaxHeightin interfaceTabsRegion- Parameters:
height- ожидаемая максимальная высота в пикселях
-
shouldHaveScrollbar
public void shouldHaveScrollbar()Description copied from interface:TabsRegionПроверка наличия полосы прокрутки- Specified by:
shouldHaveScrollbarin interfaceTabsRegion
-
shouldNotHaveScrollbar
public void shouldNotHaveScrollbar()Description copied from interface:TabsRegionПроверка отсутствия полосы прокрутки- Specified by:
shouldNotHaveScrollbarin interfaceTabsRegion
-
tab
Description copied from interface:TabsRegionВозвращает элемент вкладку по словию- Specified by:
tabin interfaceTabsRegion- Parameters:
by- услвоие поиска- Returns:
- Компонент вкладка для автотестирования
-
getTabsContent
protected com.codeborne.selenide.SelenideElement getTabsContent()
-