Package com.hp.lft.sdk.oracle
Interface TreeView
- All Superinterfaces:
Clickable
,EnabledProvider
,LocationInfoProvider
,TestObject
,TestObjectDescriber
,UiObjectBase
,WaitUntilEnabledProvider
An Oracle Tree test object
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activate
(int item) Activates the specified item in the tree.void
activate
(TreeViewNode item) Activates the specified item in the tree.void
Activates the specified item in the tree.buildNodePath
(String... nodePathParts) Returns the path of a node in the tree.Returns the caption of the object.The Oracle class hierarchy of the object's Oracle class.getNode
(int node) Returns the the specified node.Returns the the specified node.Indicates accessibility description of the object as specified by the server.Indicates internal name of the object supplied by the application server.Returns the value of the selected item.Indicates the text displayed in the object's tooltip.void
select
(int item) Selects the specified item in the tree.void
select
(TreeViewNode item) Selects the specified item in the tree.void
Selects the specified item in the tree.Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.oracle.UiObjectBase
getObjectType, selectFromPopupMenu, selectFromPopupMenu, sendKey
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
-
Method Details
-
getSelectedItem
Returns the value of the selected item.- Returns:
- the value of the selected item.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getCaption
Returns the caption of the object.- Returns:
- the caption of the object.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getClassPath
The Oracle class hierarchy of the object's Oracle class.- Returns:
- the class hierarchy of the object's.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getObjectDescription
Indicates accessibility description of the object as specified by the server.- Returns:
- the accessibility description of the object.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getObjectName
Indicates internal name of the object supplied by the application server.- Returns:
- the internal name of the object.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getTooltipText
Indicates the text displayed in the object's tooltip.- Returns:
- the text displayed in the object's tooltip.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getNode
Returns the the specified node.- Parameters:
node
- The full path of the node to return within the tree.- Returns:
- the the specified node.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getNode
Returns the the specified node.- Parameters:
node
- The index of the node.- Returns:
- the the specified node.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects the specified item in the tree.- Parameters:
item
- the item to be selected.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects the specified item in the tree.- Parameters:
item
- the item to be selected (0-based).- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects the specified item in the tree.- Parameters:
item
- the item to be selected fromTreeViewNode
.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
activate
Activates the specified item in the tree.- Parameters:
item
- the item to be selected.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
activate
Activates the specified item in the tree.- Parameters:
item
- the item to be selected (0-based).- Throws:
GeneralLeanFtException
- if error occurs during execution
-
activate
Activates the specified item in the tree.- Parameters:
item
- the item to be selected fromTreeViewNode
.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
buildNodePath
Returns the path of a node in the tree.- Parameters:
nodePathParts
- the tree node parts can be: full path(string). For a full path, separate items by->
string.- Returns:
- the path constructed from the path parts.
-