Class N2oListWidget
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.widget.N2oWidget
net.n2oapp.framework.autotest.impl.component.widget.N2oStandardWidget
net.n2oapp.framework.autotest.impl.component.widget.N2oListWidget
- All Implemented Interfaces:
Component,Element,ListWidget,StandardWidget,Widget
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class net.n2oapp.framework.autotest.impl.component.widget.N2oStandardWidget
N2oStandardWidget.N2oWidgetToolbarNested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.widget.list.ListWidget
ListWidget.ContentNested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.widget.StandardWidget
StandardWidget.WidgetToolbar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent(int index) Возвращает содержимое виджета по номеруprotected com.codeborne.selenide.ElementsCollectionitems()paging()voidshouldHaveSize(int size) Проверка количества строкMethods inherited from class net.n2oapp.framework.autotest.impl.component.widget.N2oStandardWidget
alerts, shouldBeDisabled, shouldBeEnabled, toolbarMethods 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, setElementMethods inherited from interface net.n2oapp.framework.autotest.api.component.widget.StandardWidget
alerts, shouldBeDisabled, shouldBeEnabled, toolbar
-
Constructor Details
-
N2oListWidget
public N2oListWidget()
-
-
Method Details
-
content
Description copied from interface:ListWidgetВозвращает содержимое виджета по номеру- Specified by:
contentin interfaceListWidget- Parameters:
index- номер требуемого содержимого- Returns:
- Содержимое строк списка для автотестирования
-
shouldHaveSize
public void shouldHaveSize(int size) Description copied from interface:ListWidgetПроверка количества строк- Specified by:
shouldHaveSizein interfaceListWidget- Parameters:
size- ожидаемое количество
-
paging
- Specified by:
pagingin interfaceListWidget- Returns:
- Компонент пагинации для автотестирования
-
items
protected com.codeborne.selenide.ElementsCollection items()
-