Class N2oTreeWidget
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.N2oTreeWidget
- All Implemented Interfaces:
Component,Element,StandardWidget,TreeWidget,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.StandardWidget
StandardWidget.WidgetToolbarNested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.widget.TreeWidget
TreeWidget.TreeItem -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionitem(int index) Возвращает элемент дерева по номеруvoidshouldHaveItem(String label) Проверяет наличие элемента по меткиvoidshouldHaveItems(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
-
Field Details
-
treeItem
-
-
Constructor Details
-
N2oTreeWidget
public N2oTreeWidget()
-
-
Method Details
-
item
Description copied from interface:TreeWidgetВозвращает элемент дерева по номеру- Specified by:
itemin interfaceTreeWidget- Parameters:
index- номер возвращаемого элемента- Returns:
- Элемент дерева для автотестирования
-
shouldHaveItem
Description copied from interface:TreeWidgetПроверяет наличие элемента по метки- Specified by:
shouldHaveItemin interfaceTreeWidget- Parameters:
label- метка для поиска
-
shouldHaveItems
public void shouldHaveItems(int size) Description copied from interface:TreeWidgetПроверка количества элементов в дереве- Specified by:
shouldHaveItemsin interfaceTreeWidget- Parameters:
size- ожидаемое количество элементов
-