Table of Contents

Interface IOKCode

Namespace
HP.LFT.SDK.SAP.NWBC
Assembly
HP.LFT.SDK.dll

An OK Code box in a SAP NWBC application.

public interface IOKCode : IUIObjectBase, ITestObject, ITestObjectDescriber, ISupportsNativeObject, ILocationInfoProvider, IClickable, IDoubleClickable, ISupportDragAndDrop, ISupportSendKeys, IEnabledProvider, IVisibleProvider
Inherited Members
Extension Methods

Methods

SetMultiLineSelection(int, int, int, int)

Selects the text in a multi-line edit box. All positions are 0-based.

void SetMultiLineSelection(int lineFrom, int columnFrom, int lineTo, int columnTo)

Parameters

lineFrom int

The line at which the selection starts.

columnFrom int

The column at which the selection starts (in characters).

lineTo int

The line at which the selection ends.

columnTo int

The column at which the selection ends (in characters).

SetSingleLineSelection(int, int)

Selects the text in a single-line edit box. All positions are 0-based.

void SetSingleLineSelection(int columnFrom, int columnTo)

Parameters

columnFrom int

The column at which the selection starts (in characters).

columnTo int

The column at which the selection ends (in characters).

SetText(string)

Sets the value of the edit box.

void SetText(string text)

Parameters

text string

The text to be entered in the edit box.

Submit()

Submits the entered information.

void Submit()

SupportsTextSelection()

Indicates whether the edit box supports text selection.

bool SupportsTextSelection()

Returns

bool

true if the edit box supports text selection; otherwise, false.