Interface IOKCode
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.
void SetMultiLineSelection(int lineFrom, int columnFrom, int lineTo, int columnTo)
Parameters
lineFromintThe line at which the selection starts.
columnFromintThe column at which the selection starts (in characters).
lineTointThe line at which the selection ends.
columnTointThe column at which the selection ends (in characters).
SetSingleLineSelection(int, int)
Selects the text in a single-line edit box.
void SetSingleLineSelection(int columnFrom, int columnTo)
Parameters
columnFromintThe column at which the selection starts (in characters).
columnTointThe column at which the selection ends (in characters).
SetText(string)
Sets the value of the edit box.
void SetText(string text)
Parameters
textstringThe 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.