public class Item extends Element
Modifier and Type | Field and Description |
---|---|
protected int |
index |
static int |
INVALID_INDEX |
protected java.lang.String |
value |
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 |
Item() |
|
Item(java.lang.Object object)
Constructor used to create an uniformed Item object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
contentValue() |
int |
getIndex() |
java.lang.String |
getValue() |
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 int INVALID_INDEX
protected int index
protected java.lang.String value
protected Item()
public Item(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 int getIndex()
public java.lang.String getValue()
public java.lang.String contentValue()
contentValue
in class Element
Copyright © SAS Institute. All Rights Reserved.