Class TreePanel
java.lang.Object
com.onenetwork.platform.tools.test.ui.components.Component
com.onenetwork.platform.tools.test.ui.components.Container
com.onenetwork.platform.tools.test.ui.components.TreePanel
public class TreePanel extends Container
Represents an ext TreePanel, with expand/collapse available at each node.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description void
select(java.lang.String... path)
The tree will be expanded down through the given path; the last node given will not be expanded, but rather will be selected.void
selectInexact(java.lang.String... path)
Likeselect(String...)
but uses inexact matches ...Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Container
clickAction, clickAction, clickMenuItem, clickOneLogo, createFieldFromLabel, findXTypeFromInput, getActions, getActions, getButton, getCC1InnerTab, getComponent, getDashboard, getFieldByLabel, getFieldByLabelCC15, getFieldByLabelFlux, getFieldByLabelNew, getFieldByMultiLineLabel, getFieldByName, getFieldError, getFilterOverlayPanel, getFormPanel, getGrid, getGridByClass, getGrids, getLink, getMenu, getMessagePanel, getMessagePanelFlux, getNotificationCollaboration, getProbelmDetail, getProblemList, getReadOnlyFieldByLabelCC15, getReport, getReports, getSearchContext, getSearchPageContext, getTabPanel, getTabPanelByClass, getTemplateDisplay, getTreePanel, getWindow, getWindows, getXTypeFromFormItem, getXTypeFromId, getXTypeFromLabel, isRequired, switchDriver, waitForSuccessMessage
Methods inherited from class com.onenetwork.platform.tools.test.ui.components.Component
getEl, getId, isDisplayed, isRequired
-
Constructor Details
-
Method Details
-
select
public void select(java.lang.String... path)The tree will be expanded down through the given path; the last node given will not be expanded, but rather will be selected. For example, select("Granddad, "Dad", "Grandchild") will expand Granddad, then expand Dad under Granddad, then select Grandchild under Dad.- Parameters:
path
- path to expand - the last entry will be selected instead of expanded
-
selectInexact
public void selectInexact(java.lang.String... path)Likeselect(String...)
but uses inexact matches ... a node will be matched if it its text contains() the given path elements.- Parameters:
path
- path to expand (inexact match for each value) - the last entry will be selected instead of expanded
-