Class N2oTableWidget.N2oRows
java.lang.Object
net.n2oapp.framework.autotest.impl.component.widget.table.N2oTableWidget.N2oRows
- All Implemented Interfaces:
TableWidget.Rows
- Enclosing class:
- N2oTableWidget
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.codeborne.selenide.ElementsCollectioncolumn(int index) voidcolumnShouldBeEmpty(int index) Проверка того, что у колонки нет текста.voidcolumnShouldBeSortedBy(int columnIndex, net.n2oapp.framework.api.metadata.global.view.widget.table.column.SortingDirection direction) Проверка, что колонка отсортированаvoidcolumnShouldHaveTexts(int index, List<String> texts, Duration... duration) Проверка того, что колонка имеет соответствующий текст.columnTexts(int index) Возвращает список текста из колонкиrow(int index) Возвращает ячейки внутри строкиprotected com.codeborne.selenide.ElementsCollectionrows()voidshouldBeSelected(int row) Проверка того, что строка выбранаvoidshouldHaveSize(int size, Duration... duration) Проверка количества строкvoidПроверка отсутствия строкvoidПроверка отсутствия выбранных строк
-
Constructor Details
-
N2oRows
public N2oRows()
-
-
Method Details
-
row
Description copied from interface:TableWidget.RowsВозвращает ячейки внутри строки- Specified by:
rowin interfaceTableWidget.Rows- Parameters:
index- номер строки- Returns:
- Ячейки таблицы для автотестирования
-
shouldHaveSize
Description copied from interface:TableWidget.RowsПроверка количества строк- Specified by:
shouldHaveSizein interfaceTableWidget.Rows- Parameters:
size- ожидаемое количество
-
shouldNotHaveRows
public void shouldNotHaveRows()Description copied from interface:TableWidget.RowsПроверка отсутствия строк- Specified by:
shouldNotHaveRowsin interfaceTableWidget.Rows
-
shouldBeSelected
public void shouldBeSelected(int row) Description copied from interface:TableWidget.RowsПроверка того, что строка выбрана- Specified by:
shouldBeSelectedin interfaceTableWidget.Rows- Parameters:
row- номер строки
-
shouldNotHaveSelectedRows
public void shouldNotHaveSelectedRows()Description copied from interface:TableWidget.RowsПроверка отсутствия выбранных строк- Specified by:
shouldNotHaveSelectedRowsin interfaceTableWidget.Rows
-
columnShouldHaveTexts
Description copied from interface:TableWidget.RowsПроверка того, что колонка имеет соответствующий текст.- Specified by:
columnShouldHaveTextsin interfaceTableWidget.Rows- Parameters:
index- номер проверяемой колонкиtexts- ожидаемый текст
-
columnShouldBeEmpty
public void columnShouldBeEmpty(int index) Description copied from interface:TableWidget.RowsПроверка того, что у колонки нет текста.- Specified by:
columnShouldBeEmptyin interfaceTableWidget.Rows- Parameters:
index- номер проверяемой колонки
-
columnTexts
Description copied from interface:TableWidget.RowsВозвращает список текста из колонки- Specified by:
columnTextsin interfaceTableWidget.Rows- Parameters:
index- номер необходимой колонки- Returns:
- Список строк
-
columnShouldBeSortedBy
public void columnShouldBeSortedBy(int columnIndex, net.n2oapp.framework.api.metadata.global.view.widget.table.column.SortingDirection direction) Description copied from interface:TableWidget.RowsПроверка, что колонка отсортирована- Specified by:
columnShouldBeSortedByin interfaceTableWidget.Rows- Parameters:
columnIndex- номер колонкиdirection- направление отсортированности
-
column
protected com.codeborne.selenide.ElementsCollection column(int index) -
rows
protected com.codeborne.selenide.ElementsCollection rows()
-