public interface ITreeSelectable extends IHierarchicalSelectable
Modifier and Type | Method and Description |
---|---|
void |
collapseItem(TextMatchingCriterion criterion,
boolean collpaseChildren,
boolean verify)
Collapse the item according to the path.
|
void |
expandItem(TextMatchingCriterion criterion,
boolean expandChildren,
boolean verify)
Expand the item according to the path.
|
TreeNode[] |
getContent()
Get all tree nodes.
|
TreeNode |
getMatchedElement(TextMatchingCriterion criterion)
according to the element's label to get a Element object.
|
activateItem, activateItem, selectItem, selectItem, verifyContains, verifyItemSelection, verifyItemSelection
clearCache
void expandItem(TextMatchingCriterion criterion, boolean expandChildren, boolean verify) throws SeleniumPlusException
criterion
- TextMatchingCriterion, containing text, partialMatch, matchedIndex as search-criterion.expandChildren
- boolean, if true then expand all the children of this node.verify
- boolean, if true then verify the treepath has been expended.SeleniumPlusException
void collapseItem(TextMatchingCriterion criterion, boolean collpaseChildren, boolean verify) throws SeleniumPlusException
criterion
- TextMatchingCriterion, containing text, partialMatch, matchedIndex as search-criterion.collpaseChildren
- boolean, if true then collapse all the children of this node.verify
- boolean, if true then verify the treepath has been collapse.SeleniumPlusException
TreeNode[] getContent() throws SeleniumPlusException
getContent
in interface IHierarchicalSelectable
getContent
in interface ISelectable
SeleniumPlusException
TreeNode getMatchedElement(TextMatchingCriterion criterion) throws SeleniumPlusException
ISelectable
getMatchedElement
in interface ISelectable
criterion
- TextMatchingCriterion, containing text, partialMatch, matchedIndex as search-criterion.SeleniumPlusException
- if Element cannot be foundCopyright © SAS Institute. All Rights Reserved.