Package com.hp.lft.sdk.oracle
Interface List
- All Superinterfaces:
Clickable,EnabledProvider,LocationInfoProvider,TestObject,TestObjectDescriber,UiObjectBase,WaitUntilEnabledProvider
An Oracle poplist (combo box) or list.
-
Method Summary
Modifier and TypeMethodDescriptionvoidactivate(int item) Activates the specified item in the list.voidActivates the specified item in the list.voidActivates the specified item in the list.booleanIndicates whether the specified item is contained in the list.Returns the caption of the object.The Oracle class hierarchy of the object's Oracle class.getItem(int item) Returns the item with the specified text.Returns the item with the specified text.Indicates accessibility description of the object as specified by the server.Indicates internal name of the object supplied by the application server.intReturns the index of the selected item (0-based).Returns the value of the selected item.Indicates the text displayed in the object's tooltip.voidselect(int item) Selects the specified item from the list.voidSelects the specified item from the list.voidSelects the specified item from the list.Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods 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, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.oracle.UiObjectBase
getObjectType, selectFromPopupMenu, selectFromPopupMenu, sendKeyMethods 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
-
getSelectedIndex
Returns the index of the selected item (0-based).- Returns:
- the index of the selected item (0-based). NOTE: If no item is selected, -1 is returned.
- 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
-
getItem
Returns the item with the specified text.- Parameters:
item- The text of the item.- Returns:
- the item with the specified text.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getItem
Returns the item with the specified text.- Parameters:
item- The index of the item.- Returns:
- the item with the specified text.
- 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
-
select
Selects the specified item from the list.- Parameters:
item- the item to be selected fromListItem.- Throws:
GeneralLeanFtException- if error occurs during execution
-
activate
Activates the specified item in the list.- Parameters:
item- the item to be selected.- Throws:
GeneralLeanFtException- if error occurs during execution
-
activate
Activates the specified item in the list.- Parameters:
item- the item to be selected (0-based).- Throws:
GeneralLeanFtException- if error occurs during execution
-
activate
Activates the specified item in the list.- Parameters:
item- the item to be selected fromListItem.- Throws:
GeneralLeanFtException- if error occurs during execution
-
contains
Indicates whether the specified item is contained in the list.- Parameters:
item- the item to be searched in list.- Returns:
- whether the specified item is contained in the list.
- Throws:
GeneralLeanFtException- if error occurs during execution
-