public final class Option extends org.testatoo.core.component.Field implements Coreattrs, I18n
| Constructor and Description |
|---|
Option(HtmlEvaluator evaluator,
String id)
Class constructor specifying the evaluator to use and the id of the "option" element we want to test.
|
| Modifier and Type | Method and Description |
|---|---|
String |
classname()
To get the class attribute of an html element
|
String |
content()
To get the content of the option.
|
Direction |
direction()
To get the direction attribute of the html element
|
String |
label()
To get the label attribute of the "option" element.
|
String |
language()
To get the language attribute of the html element
|
boolean |
selected()
To know if is the option is selected.
|
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.
|
String |
value() |
checkIsExpectedComponent, equals, hasFocus, hashCode, id, isDisabled, isEnabled, isVisiblepublic Option(HtmlEvaluator evaluator, String id)
evaluator - a UI Test engine specific html evaluatorid - the id (unique) of the "option" elementorg.testatoo.core.ComponentException - if the given id does not correspond to a "option" elementpublic String classname()
Coreattrsclassname in interface CoreattrsCoreAttributeSupportpublic String style()
Coreattrsstyle in interface CoreattrsCoreAttributeSupportpublic String title()
Coreattrstitle in interface CoreattrsCoreAttributeSupportpublic String language()
I18nlanguage in interface I18nI18nAttributeSupportpublic Direction direction()
I18ndirection in interface I18nI18nAttributeSupportpublic String label()
label in interface org.testatoo.core.nature.LabelSupportlabel in class org.testatoo.core.component.Fieldpublic String value()
value in interface org.testatoo.core.nature.ValueSupportvalue in class org.testatoo.core.component.Fieldpublic boolean selected()
public String content()
public String toString()
toString in class org.testatoo.core.component.FieldCopyright © 2008-2012 Ovea. All Rights Reserved.