Class N2oTopLeftRightPage
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
net.n2oapp.framework.autotest.impl.component.page.N2oTopLeftRightPage
- All Implemented Interfaces:
Component,Element,Page,TopLeftRightPage
Страница с тремя регионами для автотестирования
-
Nested Class Summary
Nested classes/interfaces inherited from class net.n2oapp.framework.autotest.impl.component.page.N2oPage
N2oPage.N2oBreadcrumb, N2oPage.N2oDialog, N2oPage.N2oOverlay, N2oPage.N2oPageToolbar, N2oPage.N2oPopoverNested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.page.Page
Page.Breadcrumb, Page.Dialog, Page.Overlay, Page.PageToolbar, Page.Popover -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidКлик по кнопке скрола в верх страницыleft()Возвращает регионы из левой части страницыright()Возвращает регионы из правой части страницыprotected com.codeborne.selenide.SelenideElementvoidПроверка наличия кнопки скрола в верх страницыvoidПроверка наличия кнопки скрола в низ страницыtop()Возвращает регионы из верхней части страницыMethods inherited from class net.n2oapp.framework.autotest.impl.component.page.N2oPage
alerts, body, breadcrumb, dialog, footer, header, overlay, popover, scrollDown, scrollUp, shouldHaveCssClass, shouldHaveError, shouldHaveLayout, shouldHaveStyle, shouldHaveTitle, shouldHaveUrlMatches, sidebar, toolbarMethods inherited from class net.n2oapp.framework.autotest.impl.component.N2oComponent
shouldBeHidden, shouldBeVisible, shouldExists, 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, setElementMethods inherited from interface net.n2oapp.framework.autotest.api.component.page.Page
alerts, breadcrumb, dialog, footer, header, overlay, popover, scrollDown, scrollUp, shouldHaveError, shouldHaveLayout, shouldHaveTitle, shouldHaveUrlMatches, sidebar, toolbar
-
Constructor Details
-
N2oTopLeftRightPage
public N2oTopLeftRightPage()
-
-
Method Details
-
top
Description copied from interface:TopLeftRightPageВозвращает регионы из верхней части страницы- Specified by:
topin interfaceTopLeftRightPage- Returns:
- Регионы для автотестирования
-
left
Description copied from interface:TopLeftRightPageВозвращает регионы из левой части страницы- Specified by:
leftin interfaceTopLeftRightPage- Returns:
- Регионы для автотестирования
-
right
Description copied from interface:TopLeftRightPageВозвращает регионы из правой части страницы- Specified by:
rightin interfaceTopLeftRightPage- Returns:
- Регионы для автотестирования
-
shouldHaveScrollToTopButton
public void shouldHaveScrollToTopButton()Description copied from interface:TopLeftRightPageПроверка наличия кнопки скрола в верх страницы- Specified by:
shouldHaveScrollToTopButtonin interfaceTopLeftRightPage
-
shouldNotHaveScrollToTopButton
public void shouldNotHaveScrollToTopButton()Description copied from interface:TopLeftRightPageПроверка наличия кнопки скрола в низ страницы- Specified by:
shouldNotHaveScrollToTopButtonin interfaceTopLeftRightPage
-
clickScrollToTopButton
public void clickScrollToTopButton()Description copied from interface:TopLeftRightPageКлик по кнопке скрола в верх страницы- Specified by:
clickScrollToTopButtonin interfaceTopLeftRightPage
-
scrollToTopButton
protected com.codeborne.selenide.SelenideElement scrollToTopButton()
-