Package com.hp.lft.sdk.te
Interface Screen
- All Superinterfaces:
ScreenBase
,TestObject
,TestObjectDescriber
A terminal emulator screen that fully supports HLLAPI.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Terminal Emulator screen current row and current column.int
getId()
Returns the Terminal Emulator Screen ID.int
Returns the Terminal Emulator screen input field count.getLabel()
Returns the Terminal Emulator screen label.int
Returns the Terminal Emulator screen protected field count.void
sendTEKeys
(String keys) Sends a keystroke or string of keystrokes to the current cursor position in the emulator screen.void
setCursorPosition
(int row, int column) Changes the position of the cursor within the emulator screen.void
setCursorPosition
(Position position) Changes the position of the cursor within the emulator screen.void
Copies a string to a specific location in the emulator screen.void
Copies a string to a specific location in the emulator screen.void
Copies a string to a specific location in the emulator screen.Methods inherited from interface com.hp.lft.sdk.te.ScreenBase
getSize, getText, getText, sync, sync, waitForText, waitForText, waitForText, waitForText, waitForText, waitForText, waitForText, waitForText
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
-
Method Details
-
getCursorPosition
Returns the Terminal Emulator screen current row and current column.- Returns:
- Terminal Emulator screen current row and current column.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getLabel
Returns the Terminal Emulator screen label.- Returns:
- Terminal Emulator screen label.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getInputFieldCount
Returns the Terminal Emulator screen input field count.- Returns:
- Terminal Emulator screen input field count.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getId
Returns the Terminal Emulator Screen ID.- Returns:
- Terminal Emulator Screen ID.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getProtectedFieldCount
Returns the Terminal Emulator screen protected field count.- Returns:
- Terminal Emulator screen protected field count.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
sendTEKeys
Sends a keystroke or string of keystrokes to the current cursor position in the emulator screen.- Parameters:
keys
- The string to type in the object. The string can include constants from theKeys
class, which represent keyboard keys.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setText
Copies a string to a specific location in the emulator screen.- Parameters:
text
- The text that will be written in the specified position within the emulator screen.position
- The specifiedPosition
within the emulator screen.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setText
Copies a string to a specific location in the emulator screen.- Parameters:
text
- The text that will be written in the specified position within the emulator screen.row
- The row position within the emulator screen.column
- The column position within the emulator screen.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setText
Copies a string to a specific location in the emulator screen.- Parameters:
text
- The text that will be written in the specified position within the emulator screen.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setCursorPosition
Changes the position of the cursor within the emulator screen.- Parameters:
position
- The specifiedPosition
screen rectangle.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setCursorPosition
Changes the position of the cursor within the emulator screen.- Parameters:
row
- The row position within the emulator screen.column
- The column position within the emulator screen.- Throws:
GeneralLeanFtException
- if error occurs during execution
-