Package com.hp.lft.sdk.te
Interface Field
- All Superinterfaces:
TestObject
,TestObjectDescriber
,VisibleProvider
,WaitUntilVisibleProvider
A terminal emulator field that fully supports HLLAPI.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Terminal Emulator Field attached text.Returns the background color of the terminal emulator field.getColor()
Returns the color of the text in the terminal emulator field.int
getId()
Returns the Terminal Emulator Field ID.int
Returns the Terminal Emulator Field length.Returns the Terminal Emulator Field start column and row column property.getText()
Returns the Terminal Emulator Field text.boolean
Returns the Terminal Emulator Field numeric property.boolean
Returns the Terminal Emulator Field protected property.boolean
Returns the Visible attribute for TeField.void
Places the cursor in the specified position within the field.void
setCursor
(long offset) Places the cursor in the specified position within the field.void
Inserts text into a hidden (invisible) field.void
Inserts text into an unprotected field.void
Inserts text into an unprotected field.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.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
-
Method Details
-
getText
Returns the Terminal Emulator Field text.- Returns:
- Terminal Emulator Field text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getLength
Returns the Terminal Emulator Field length.- Returns:
- Terminal Emulator Field length.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getAttachedText
Returns the Terminal Emulator Field attached text.- Returns:
- Terminal Emulator Field attached text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isNumeric
Returns the Terminal Emulator Field numeric property.- Returns:
- Terminal Emulator Field numeric property.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isProtected
Returns the Terminal Emulator Field protected property.- Returns:
- Terminal Emulator Field protected property.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isVisible
Returns the Visible attribute for TeField.- Specified by:
isVisible
in interfaceVisibleProvider
- Returns:
- Visible attribute for TeField.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getId
Returns the Terminal Emulator Field ID.- Returns:
- Terminal Emulator Field ID.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getBackgroundColor
Returns the background color of the terminal emulator field.- Returns:
- the terminal emulator field background color.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getColor
Returns the color of the text in the terminal emulator field.- Returns:
- the terminal emulator field color.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getStartPosition
Returns the Terminal Emulator Field start column and row column property.- Returns:
- Terminal Emulator Field start column and row column property.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setText
Inserts text into an unprotected field.- Parameters:
text
- the string that will be inserted in the field.offset
- the position in the field of the text.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setText
Inserts text into an unprotected field. The default value for the position in the field is 0.- Parameters:
text
- the string that will be inserted in the field.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setCursor
Places the cursor in the specified position within the field.- Parameters:
offset
- the position in the field where the cursor will be positioned.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setCursor
Places the cursor in the specified position within the field. The default value for the position in the field is 0.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setSecure
Inserts text into a hidden (invisible) field.- Parameters:
codedString
- the coded string which will be inserted in the field.- Throws:
GeneralLeanFtException
- if error occurs during execution
-