public class Accessibility extends Element
We use the below fields to match the property of item within Canvas (javascript object).
frame
contains the value of property 'accessibilityFrame' of item within Canvas.
hint
contains the value of property 'accessibilityHint' of item within Canvas.
terseLabel
contains the value of property 'terseAccessibilityLabel' of item within Canvas.
Element.label
contains the value of property 'accessibilityLabel' of item within Canvas.
Element.selected
contains the value of property 'isSelected' of item within Canvas.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
frame
contains the value of property
PROPERTY_ACCESSIBILITY_FRAME of item within Canvas (javascript object). |
protected java.lang.String |
hint
contains the value of property
PROPERTY_ACCESSIBILITY_HINT of item within Canvas (javascript object). |
static java.lang.String |
PROPERTY_ACCESSIBILITY_FRAME
The property accessibilityFrame of item within Canvas (javascript object).
|
static java.lang.String |
PROPERTY_ACCESSIBILITY_HINT
The property accessibilityHint of item within Canvas (javascript object).
|
static java.lang.String |
PROPERTY_ACCESSIBILITY_LABEL
The property accessibilityLabel of item within Canvas (javascript object).
|
static java.lang.String |
PROPERTY_TERSE_ACCESSIBILITY_LABEL
The property terseAccessibilityLabel of item within Canvas (javascript object).
|
protected java.lang.String |
terseLabel
contains the value of property
PROPERTY_TERSE_ACCESSIBILITY_LABEL of item within Canvas (javascript object). |
clickableWebElement, disabled, iconURL, label, PROPERTY_CLASS, PROPERTY_DISABLED, PROPERTY_EXPANDED, PROPERTY_ICON, PROPERTY_ID, PROPERTY_INDEX, PROPERTY_LABEL, PROPERTY_SELECTABLE, PROPERTY_SELECTED, PROPERTY_TEXTCONTENT, PROPERTY_VALUE, PROPERTY_VISIBLE, selected, visible
cssClass, id, map, object, possibleRecognitionStrings, searchContext, tagName, webelement
Modifier | Constructor and Description |
---|---|
protected |
Accessibility() |
|
Accessibility(java.lang.Object object)
Constructor used to create an uniformed Item object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
contentValue() |
java.lang.String |
getFrame() |
java.lang.String |
getHint() |
java.lang.String |
getTerseLabel() |
java.lang.String |
toString() |
void |
updateFields()
set/update the class's fields through the underlying WebElement or AbstractMap.
|
_getLabel, equals, getClickableWebElement, getIconURL, getLabel, isDisabled, isSelected, isVisible, parseWebElementText, setSelected
getAttribute, getCssClass, getEmbeddedObject, getId, getMap, getPossibleRecognitionStrings, getSearchContext, getTagName, getWebElement, initialize, isStale, refresh, setCssClass, setId, setPossibleRecognitionStrings, setSearchContext, setTagName, setWebElement
public static final java.lang.String PROPERTY_ACCESSIBILITY_FRAME
public static final java.lang.String PROPERTY_ACCESSIBILITY_HINT
public static final java.lang.String PROPERTY_ACCESSIBILITY_LABEL
public static final java.lang.String PROPERTY_TERSE_ACCESSIBILITY_LABEL
protected java.lang.String frame
PROPERTY_ACCESSIBILITY_FRAME
of item within Canvas (javascript object).protected java.lang.String hint
PROPERTY_ACCESSIBILITY_HINT
of item within Canvas (javascript object).protected java.lang.String terseLabel
PROPERTY_TERSE_ACCESSIBILITY_LABEL
of item within Canvas (javascript object).protected Accessibility()
public Accessibility(java.lang.Object object)
object
- Object, the item object. It may be a Map returned from javascript function; It maybe a WebElement.public void updateFields()
updateFields
in class Element
DefaultRefreshable.refresh(boolean)
public java.lang.String getFrame()
public java.lang.String getHint()
public java.lang.String getTerseLabel()
public java.lang.String contentValue()
contentValue
in class Element
Copyright © SAS Institute. All Rights Reserved.