Interface HtmlWidget
- All Superinterfaces:
Component,Element,StandardWidget,Widget
- All Known Implementing Classes:
N2oHtmlWidget
Виджет Html для автотестирования
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.n2oapp.framework.autotest.api.component.widget.StandardWidget
StandardWidget.WidgetToolbar -
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.widget.StandardWidget
alerts, shouldBeDisabled, shouldBeEnabled, toolbar
-
Method Details
-
shouldHaveElement
Проверка наличия элемента по css селектору- Parameters:
cssSelector- css селектр
-
shouldHaveElementWithAttributes
Проверка соответствия атрибутов у элемента- Parameters:
cssSelector- css селектор для поиска элементаattributes- ожидаемые атрибуты
-