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, verifyItemSelectionclearCachevoid 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.SeleniumPlusExceptionvoid 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.SeleniumPlusExceptionTreeNode[] getContent() throws SeleniumPlusException
getContent in interface IHierarchicalSelectablegetContent in interface ISelectableSeleniumPlusExceptionTreeNode getMatchedElement(TextMatchingCriterion criterion) throws SeleniumPlusException
ISelectablegetMatchedElement in interface ISelectablecriterion - TextMatchingCriterion, containing text, partialMatch, matchedIndex as search-criterion.SeleniumPlusException - if Element cannot be foundCopyright © SAS Institute. All Rights Reserved.