Package com.hp.lft.sdk.oracle
Interface ListOfValues
- All Superinterfaces:
Clickable
,EnabledProvider
,LocationInfoProvider
,TestObject
,TestObjectDescriber
,TopLevelObject
,UiObjectBase
,WaitUntilEnabledProvider
An Oracle window containing a list of values for selection.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
Closes the List of Values window.void
Finds the item in the list that matches the specified value.The Oracle class hierarchy of the object's Oracle class.getItems()
Returns the content of the object window.getTitle()
Returns the window title.void
select
(int item) Selects the specified item from the list.void
Selects the specified item from the list.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
-
getTitle
Returns the window title.- Returns:
- the window title.
- 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
-
getItems
Returns the content of the object window.- Returns:
- the content of the object window.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
cancel
Closes the List of Values window.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
find
Finds the item in the list that matches the specified value. The value or prefix to find in the first column of the list. OpenText Functional Testing for Developers searches in the first column of the list to locate the specified value. If only one item in the list matches the specified value, it is automatically selected. If more than one item in the list matches the specified value, all of the matching values are displayed.- Parameters:
text
- The text to be found.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects the specified item from the list.- Parameters:
item
- the item to be selected.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects the specified item from the list.- Parameters:
item
- the item to be selected (0-based).- Throws:
GeneralLeanFtException
- if error occurs during execution
-