Interface IScreen
A Terminal Emulator screen that fully supports HLLAPI.
Inherited Members
Namespace: HP.LFT.SDK.TE
Assembly: HP.LFT.SDK.dll
Syntax
public interface IScreen : ITestObject, ITestObjectDescriber, IScreenBase
Properties
CursorPosition
The current row and current column on the terminal emulator screen. Represented by the Position object.
Declaration
Position CursorPosition { get; }
Property Value
| Type | Description |
|---|---|
| Position |
Id
The terminal emulator screen ID.
Declaration
int Id { get; }
Property Value
| Type | Description |
|---|---|
| int |
InputFieldCount
The terminal emulator screen input field count.
Declaration
int InputFieldCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Label
The label of the terminal emulator screen.
Declaration
string Label { get; }
Property Value
| Type | Description |
|---|---|
| string |
ProtectedFieldCount
The terminal emulator screen protected field count.
Declaration
int ProtectedFieldCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
SendTEKeys(string)
Sends a keystroke or string of keystrokes to the current cursor position on the emulator screen.
Declaration
void SendTEKeys(string keys)
Parameters
| Type | Name | Description |
|---|---|---|
| string | keys | The string to type in the object. The string can include constants from the Keys class, which represent keyboard keys. |
SetCursorPosition(Position)
Changes the position of the cursor on the emulator screen.
Declaration
void SetCursorPosition(Position position)
Parameters
| Type | Name | Description |
|---|---|---|
| Position | position | The Position on the emulator screen. |
SetCursorPosition(uint, uint)
Changes the position of the cursor on the emulator screen.
Declaration
void SetCursorPosition(uint row, uint column)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | row | The row position on the emulator screen. |
| uint | column | The column position on the emulator screen. |
SetText(string)
Copies a string to a specific location on the emulator screen.
Declaration
void SetText(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to write at the specified position on the emulator screen. |
SetText(string, Position)
Copies a string to a specific location on the emulator screen.
Declaration
void SetText(string text, Position position)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to write at the specified position on the emulator screen. |
| Position | position | The Position on the emulator screen. |
SetText(string, uint, uint)
Copies a string to a specific location on the emulator screen.
Declaration
void SetText(string text, uint row, uint column)
Parameters
| Type | Name | Description |
|---|---|---|
| string | text | The text to write at the specified position on the emulator screen. |
| uint | row | The row position on the emulator screen. |
| uint | column | The column position on the emulator screen. |