Class N2oHtmlWidget
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.html.N2oHtmlWidget
- All Implemented Interfaces:
Component,Element,HtmlWidget,StandardWidget,Widget
-
Nested Class Summary
Nested 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.WidgetToolbar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshouldHaveElement(String cssSelector) Проверка наличия элемента по css селекторуvoidshouldHaveElementWithAttributes(String cssSelector, Map<String, String> attributes) Проверка соответствия атрибутов у элемента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
-
Constructor Details
-
N2oHtmlWidget
public N2oHtmlWidget()
-
-
Method Details
-
shouldHaveElement
Description copied from interface:HtmlWidgetПроверка наличия элемента по css селектору- Specified by:
shouldHaveElementin interfaceHtmlWidget- Parameters:
cssSelector- css селектр
-
shouldHaveElementWithAttributes
Description copied from interface:HtmlWidgetПроверка соответствия атрибутов у элемента- Specified by:
shouldHaveElementWithAttributesin interfaceHtmlWidget- Parameters:
cssSelector- css селектор для поиска элементаattributes- ожидаемые атрибуты
-