Interface IEditField
A standard Windows edit box.
public interface IEditField : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber
- Inherited Members
- Extension Methods
Methods
Select(int, int)
Selects specified text in this edit box.
void Select(int fromCharPos, int toCharPos)
Parameters
fromCharPosintCharacter position from which selection starts, inclusive.
toCharPosintCharacter position at which selection ends, inclusive.
SetSecure(string)
Sets the encoded value of this edit box.
void SetSecure(string encodedText)
Parameters
encodedTextstringThe encoded text to enter in this edit box.
Remarks
Generate the encoded value using the Password Encoder utility, available from the OpenText Functional Testing for Developers > Tools menu in your IDE or from the Windows Start menu.
Note: The SetSecure method enables you to hide passwords displayed on the screen while running or editing a test, but it is not intended to be a secure way to protect password information.
SetText(string)
Sets the text string in this edit box.
void SetText(string text)
Parameters
textstringThe text entered in the edit box.