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.intgetId()Returns the Terminal Emulator Screen ID.intReturns the Terminal Emulator screen input field count.getLabel()Returns the Terminal Emulator screen label.intReturns the Terminal Emulator screen protected field count.voidsendTEKeys(String keys) Sends a keystroke or string of keystrokes to the current cursor position in the emulator screen.voidsetCursorPosition(int row, int column) Changes the position of the cursor within the emulator screen.voidsetCursorPosition(Position position) Changes the position of the cursor within the emulator screen.voidCopies a string to a specific location in the emulator screen.voidCopies a string to a specific location in the emulator screen.voidCopies 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, waitForTextMethods 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
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 theKeysclass, 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 specifiedPositionwithin 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 specifiedPositionscreen 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
-