Interface IEditField
An edit object in a mobile application.
public interface IEditField : ITestObject, ITestObjectDescriber, IUiObjectBase, IEnabledProvider
- Inherited Members
- Extension Methods
Properties
IsPassword
Indicates whether this mobile edit object is a password box. (Android only)
bool IsPassword { get; }
Property Value
Methods
SetFocus()
Brings the edit box into focus.
void SetFocus()
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 specified text in the edit box.
void SetText(string text)
Parameters
textstringThe text to enter in the edit box.