Class N2oDropDownTree

All Implemented Interfaces:
Component, DropDownTree, Element

public class N2oDropDownTree extends N2oComponent implements DropDownTree
  • Constructor Details

    • N2oDropDownTree

      public N2oDropDownTree()
  • Method Details

    • item

      public DropDownTree.DropDownTreeItem item(int index)
      Description copied from interface: DropDownTree
      Возвращает элемент дерева по номеру
      Specified by:
      item in interface DropDownTree
      Parameters:
      index - номер элемента
      Returns:
      Элемент дерева выпадющего списка
    • shouldHaveItems

      public void shouldHaveItems(int size)
      Description copied from interface: DropDownTree
      Проверка количества элементов в выпадающем списке
      Specified by:
      shouldHaveItems in interface DropDownTree
      Parameters:
      size - ожидаемое количество
    • clickOnSearchField

      public void clickOnSearchField()
      Description copied from interface: DropDownTree
      Клик на поле поиска элементов
      Specified by:
      clickOnSearchField in interface DropDownTree
    • setValue

      public void setValue(String value)
      Description copied from interface: DropDownTree
      Ввод значение в поле поиска элементов
      Specified by:
      setValue in interface DropDownTree
      Parameters:
      value - вводимое значение
    • shouldHaveOption

      public void shouldHaveOption(String label)
      Description copied from interface: DropDownTree
      Проверка наличия внутреннего элемента по метке
      Specified by:
      shouldHaveOption in interface DropDownTree
      Parameters:
      label - метка для поиска
    • clear

      public void clear()
      Description copied from interface: DropDownTree
      Очистка поля поиска
      Specified by:
      clear in interface DropDownTree
    • searchField

      protected com.codeborne.selenide.SelenideElement searchField()