public final class Area extends org.testatoo.core.component.Component implements Coreattrs, I18n, org.testatoo.core.nature.Container
| Constructor and Description |
|---|
Area(HtmlEvaluator evaluator,
String id)
Class constructor specifying the evaluator to use and the id of the "area" element we want to test.
|
| Modifier and Type | Method and Description |
|---|---|
String |
accesskey()
To get the accesskey attribute of the "area" element.
|
String |
alt()
To get the alt attribute of the "area" element.
|
String |
classname()
To get the class attribute of an html element
|
Boolean |
contains(org.testatoo.core.component.Component... component)
To know if the area contains a given component.
|
String |
coords()
To get the coords attribute of the "area" element.
|
Direction |
direction()
To get the direction attribute of the html element
|
String |
href()
To get the href attribute of the "area" element.
|
Boolean |
isVisible()
To know if the component is visible
Always return false (not visible element)
|
String |
language()
To get the language attribute of the html element
|
Shape |
shape()
To get the shape attribute of the "area" element.
|
String |
style()
To get the style attribute of an html element
|
int |
tabindex()
To get the tabindex attribute of the "area" element.
|
String |
title()
To get the title attribute of an html element
|
String |
toString()
To get the string describing the area.
|
checkIsExpectedComponent, equals, hasFocus, hashCode, id, isDisabled, isEnabledpublic Area(HtmlEvaluator evaluator, String id)
evaluator - a UI Test engine specific html evaluatorid - the id (unique) of the "area" elementorg.testatoo.core.ComponentException - if the given id does not correspond to a "area" 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 Boolean contains(org.testatoo.core.component.Component... component)
contains in interface org.testatoo.core.nature.Containercomponent - the component we want to know if contained in the areapublic Shape shape()
public String coords()
public String href()
public String alt()
public int tabindex()
public String accesskey()
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.