Class N2oPage.N2oBreadcrumb
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.page.N2oPage.N2oBreadcrumb
- All Implemented Interfaces:
Component,Element,Page.Breadcrumb
- Enclosing class:
- N2oPage
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.page.Page.Breadcrumb
Page.Breadcrumb.Crumb -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncrumb(int index) Возвращает хлебную крошку соответствующую номеру расположенияВозвращает хлебную крошку соответствующую заголовкуvoidshouldHaveSize(int size) Проверка количества хлебных крошекMethods 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
-
N2oBreadcrumb
public N2oBreadcrumb(com.codeborne.selenide.SelenideElement element)
-
-
Method Details
-
shouldHaveSize
public void shouldHaveSize(int size) Description copied from interface:Page.BreadcrumbПроверка количества хлебных крошек- Specified by:
shouldHaveSizein interfacePage.Breadcrumb- Parameters:
size- ожидаемое количество
-
crumb
Description copied from interface:Page.BreadcrumbВозвращает хлебную крошку соответствующую номеру расположения- Specified by:
crumbin interfacePage.Breadcrumb- Parameters:
index- номер хлебной крошки- Returns:
- Компонент хлебная крошка для автотестирования
-
crumb
Description copied from interface:Page.BreadcrumbВозвращает хлебную крошку соответствующую заголовку- Specified by:
crumbin interfacePage.Breadcrumb- Parameters:
label- заголовок хлебной крошки- Returns:
- Компонент хлебная крошка для автотестирования
-