Package com.hp.lft.sdk.oracle
Interface EditField
- All Superinterfaces:
Clickable
,EnabledProvider
,LocationInfoProvider
,TestObject
,TestObjectDescriber
,UiObjectBase
,WaitUntilEnabledProvider
An Oracle text field.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the caption of the object.The Oracle class hierarchy of the object's Oracle class.Indicates accessibility description of the object as specified by the server.Indicates internal name of the object supplied by the application server.getText()
Returns the value of the object.Indicates the text displayed in the object's tooltip.boolean
Indicates whether the text field is editable.void
Opens the field's associated dialog box.void
setFocus()
Transfers the focus to the field.void
Enters the specified text into the field.void
setTextAndValidate
(String text) Enters the specified text into the field with validation.void
validate()
Transfers the focus out of the field.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
-
getText
Returns the value of the object.- Returns:
- the value of the object.
- 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
-
isEditable
Indicates whether the text field is editable.- Returns:
- true if editable.
- 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
-
validate
Transfers the focus out of the field.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setFocus
Transfers the focus to the field.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
openDialog
Opens the field's associated dialog box.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setTextAndValidate
Enters the specified text into the field with validation.- Parameters:
text
- The text to enter in the text field.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setText
Enters the specified text into the field.- Parameters:
text
- The text to enter in the text field.- Throws:
GeneralLeanFtException
- if error occurs during execution
-