Class N2oSearchBar
java.lang.Object
net.n2oapp.framework.autotest.impl.component.N2oElement
net.n2oapp.framework.autotest.impl.component.N2oComponent
net.n2oapp.framework.autotest.impl.component.header.N2oSearchBar
Базовый класс панели поиска в шапке для автотестирования
-
Constructor Summary
Constructors -
Method Summary
Methods 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, setElement
-
Constructor Details
-
N2oSearchBar
public N2oSearchBar()
-
-
Method Details
-
click
public void click()Description copied from interface:SearchBarКлик по панели -
search
Description copied from interface:SearchBarВвод и поиск значения -
shouldHaveValue
Description copied from interface:SearchBarПроверка значения внутри поля поиска на соответствие- Specified by:
shouldHaveValuein interfaceSearchBar- Parameters:
value- ожидаемое значение
-
searchResult
- Specified by:
searchResultin interfaceSearchBar- Returns:
- Список с результатами поиска в шапке для автотестирования
-
clear
public void clear()Description copied from interface:SearchBarОчистка поля поиска -
input
protected com.codeborne.selenide.SelenideElement input()
-