Interface Html
- All Known Implementing Classes:
N2oHtml
Компонент ввода html поля для автотестирования
-
Method Summary
Modifier and TypeMethodDescriptionvoidshouldHaveElement(String cssSelector) Проверка наличия элемента по css селекторуvoidshouldHaveElementWithAttributes(String cssSelector, Map<String, String> attributes) Проверка соответствия атрибутов у элементаMethods 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.snippet.Snippet
shouldHaveText
-
Method Details
-
shouldHaveElement
Проверка наличия элемента по css селектору- Parameters:
cssSelector- css селектр
-
shouldHaveElementWithAttributes
Проверка соответствия атрибутов у элемента- Parameters:
cssSelector- css селектор для поиска элементаattributes- ожидаемые атрибуты
-