Class N2oMenu
java.lang.Object
net.n2oapp.framework.autotest.impl.collection.N2oComponentsCollection
net.n2oapp.framework.autotest.impl.collection.N2oMenu
- All Implemented Interfaces:
ComponentsCollection,Menu
Меню для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanchor(int index) Возвращает кнопку с ссылкой по индексу из списка кнопок в менюanchor(com.codeborne.selenide.WebElementCondition findBy) Возвращает кнопку с ссылкой по условию из списка таких кнопок в менюdropdown(int index) Возвращает кнопку с выпадающим списком из меню по индексуdropdown(com.codeborne.selenide.WebElementCondition findBy) Возвращает кнопку с выпадающим списком из меню по индексу<T extends MenuItem>
TВозвращает кнопку из меню по индексу<T extends MenuItem>
TВозвращает кнопку из меню по индексу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
-
N2oMenu
public N2oMenu()
-
-
Method Details
-
anchor
Description copied from interface:MenuВозвращает кнопку с ссылкой по индексу из списка кнопок в меню
For example:
nav().anchor(0); -
anchor
Description copied from interface:MenuВозвращает кнопку с ссылкой по условию из списка таких кнопок в меню
For example:
nav().anchor(Condition.visible); -
dropdown
Description copied from interface:MenuВозвращает кнопку с выпадающим списком из меню по индексу
For example:
nav().dropdown(0); -
dropdown
Description copied from interface:MenuВозвращает кнопку с выпадающим списком из меню по индексу
For example:
nav().dropdown(Condition.visible); -
item
Description copied from interface:MenuВозвращает кнопку из меню по индексу
For example:
extra().item(0, AnchorMenuItem.class); -
item
public <T extends MenuItem> T item(com.codeborne.selenide.WebElementCondition condition, Class<T> componentClass) Description copied from interface:MenuВозвращает кнопку из меню по индексу
For example:
extra().item(Condition.visible, AnchorMenuItem.class);
-