Table of Contents

Interface IField

A terminal emulator field that fully supports HLLAPI.

Namespace: HP.LFT.SDK.TE
Assembly: HP.LFT.SDK.dll
Syntax
public interface IField : ITestObject, ITestObjectDescriber, IVisibleProvider

Properties

AttachedText

Terminal emulator field attached text.

Declaration
string AttachedText { get; }
Property Value
Type Description
string

BackgroundColor

Terminal emulator field background color

Declaration
string BackgroundColor { get; }
Property Value
Type Description
string

Color

Terminal emulator field text color

Declaration
string Color { get; }
Property Value
Type Description
string

Id

Terminal emulator field ID.

Declaration
int Id { get; }
Property Value
Type Description
int

IsNumeric

Terminal emulator field numeric property.

Declaration
bool IsNumeric { get; }
Property Value
Type Description
bool

IsProtected

Terminal emulator field protected property.

Declaration
bool IsProtected { get; }
Property Value
Type Description
bool

Length

Terminal emulator field length.

Declaration
int Length { get; }
Property Value
Type Description
int

StartPosition

Terminal emulator field start column and start row property. Represented by the Position object.

Declaration
Position StartPosition { get; }
Property Value
Type Description
Position

Text

Terminal emulator field text.

Declaration
string Text { get; }
Property Value
Type Description
string

Methods

SetCursor()

Places the cursor in the specified position within the field. The default value for the position in the field is 0.

Declaration
void SetCursor()

SetCursor(long)

Places the cursor in the specified position within the field.

Declaration
void SetCursor(long offset)
Parameters
Type Name Description
long offset

The position in the field to position the cursor.

SetSecure(string)

Inserts text into a hidden (invisible) field.

Declaration
void SetSecure(string codedString)
Parameters
Type Name Description
string codedString

The coded string to insert into the field.

SetText(string)

Inserts text into an unprotected field. The default value for the position in the field is 0.

Declaration
void SetText(string text)
Parameters
Type Name Description
string text

The string to insert into the field.

SetText(string, long)

Inserts text into an unprotected field.

Declaration
void SetText(string text, long offset)
Parameters
Type Name Description
string text

The string to insert into the field.

long offset

The position of the text in the field.

Extension Methods

TestObjectExtensions.WaitUntilExists<T>(T)
TestObjectExtensions.WaitUntilExists<T>(T, int)
TestObjectExtensions.WaitUntilVisible<T>(T)
TestObjectExtensions.WaitUntilVisible<T>(T, int)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>, int)