public final class OptionGroup extends org.testatoo.core.component.Component implements Coreattrs, I18n, org.testatoo.core.nature.Container, org.testatoo.core.nature.LabelSupport, org.testatoo.core.nature.TitleSupport
| Constructor and Description |
|---|
OptionGroup(HtmlEvaluator evaluator,
String id)
Class constructor specifying the evaluator to use and the id of the "optgroup" element we want to test.
|
| Modifier and Type | Method and Description |
|---|---|
String |
classname()
To get the class attribute of an html element
|
Boolean |
contains(org.testatoo.core.component.Component... components)
To know if the option group contains all the given components.
|
Direction |
direction()
To get the direction attribute of the html element
|
Boolean |
isVisible()
To know if the component is visible
Always return false (not visible element)
|
String |
label()
To get the label attribute of the "optgroup" element.
|
String |
language()
To get the language attribute of the html element
|
org.testatoo.core.Selection<Option> |
options()
To get the list of options of the "optgroup" element.
|
String |
style()
To get the style attribute of an html element
|
String |
title()
To get the title attribute of an html element
|
String |
toString()
To get the string describing the option group.
|
checkIsExpectedComponent, equals, hasFocus, hashCode, id, isDisabled, isEnabledpublic OptionGroup(HtmlEvaluator evaluator, String id)
evaluator - a UI Test engine specific html evaluatorid - the id (unique) of the "optgroup" elementorg.testatoo.core.ComponentException - if the given id does not correspond to a "optgroup" elementpublic String classname()
Coreattrsclassname in interface CoreattrsCoreAttributeSupportpublic String style()
Coreattrsstyle in interface CoreattrsCoreAttributeSupportpublic String title()
Coreattrstitle in interface Coreattrstitle in interface org.testatoo.core.nature.TitleSupportCoreAttributeSupportpublic String language()
I18nlanguage in interface I18nI18nAttributeSupportpublic Direction direction()
I18ndirection in interface I18nI18nAttributeSupportpublic Boolean contains(org.testatoo.core.component.Component... components)
contains in interface org.testatoo.core.nature.Containercomponents - components we want to know if contained in the option grouppublic String label()
label in interface org.testatoo.core.nature.LabelSupportpublic org.testatoo.core.Selection<Option> options()
public Boolean isVisible()
isVisible in class org.testatoo.core.component.Componentpublic String toString()
toString in class org.testatoo.core.component.ComponentCopyright © 2008-2013 Ovea. All Rights Reserved.