Class N2oCells
java.lang.Object
net.n2oapp.framework.autotest.impl.collection.N2oComponentsCollection
net.n2oapp.framework.autotest.impl.collection.N2oCells
- All Implemented Interfaces:
Cells,ComponentsCollection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncell(int index) Возвращает текстовую ячейку по индексу из списка ячеек в строке<T extends Cell>
TВозвращает ячейку требуемого типа из списка ячеек в строке по индексу<T extends Cell>
TВозвращает ячейку требуемого типа по условию из списка ячеек в строкеvoidclick()Клик по строке с ячейкамиvoidhover()Наведение мыши на строку с ячейкамиprotected com.codeborne.selenide.SelenideElementrow()voidshouldHaveColor(Colors color) Проверка цвета строки по css классуMethods inherited from class net.n2oapp.framework.autotest.impl.collection.N2oComponentsCollection
elements, setElements, shouldBeEmpty, shouldHaveSizeMethods 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.collection.ComponentsCollection
elements, setElements, shouldBeEmpty, shouldHaveSize
-
Constructor Details
-
N2oCells
public N2oCells()
-
-
Method Details
-
cell
Description copied from interface:CellsВозвращает текстовую ячейку по индексу из списка ячеек в строке
For example:
row(0).cell(1); -
cell
Description copied from interface:CellsВозвращает ячейку требуемого типа из списка ячеек в строке по индексу
For example:
.row(0).cell(0, CheckboxCell.class); -
cell
public <T extends Cell> T cell(com.codeborne.selenide.WebElementCondition findBy, Class<T> componentClass) Description copied from interface:CellsВозвращает ячейку требуемого типа по условию из списка ячеек в строке
For example:
.row(0).cell(Condition.visible, CheckboxCell.class); -
click
public void click()Description copied from interface:CellsКлик по строке с ячейками -
hover
public void hover()Description copied from interface:CellsНаведение мыши на строку с ячейками -
shouldHaveColor
Description copied from interface:CellsПроверка цвета строки по css классу- Specified by:
shouldHaveColorin interfaceCells- Parameters:
color- enum с цветовыми кодами
-
row
protected com.codeborne.selenide.SelenideElement row()
-