Search Results for

    Show / Hide Table of Contents

    Class EditText

    Defines a wrapper for the core Android EditText control.

    Inheritance
    System.Object
    ElementWrapper<AndroidElement>
    AndroidElementWrapper
    EditText
    Implements
    IElementWrapper<AndroidElement>
    Inherited Members
    AndroidElementWrapper.Driver
    AndroidElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    AndroidElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    ElementWrapper<AndroidElement>.Element
    ElementWrapper<AndroidElement>.ElementDriver
    ElementWrapper<AndroidElement>.IsVisible
    ElementWrapper<AndroidElement>.IsEnabled
    ElementWrapper<AndroidElement>.Click()
    ElementWrapper<AndroidElement>.GetAttribute(String)
    ElementWrapper<AndroidElement>.FindElement(By)
    ElementWrapper<AndroidElement>.VerifyElementNotShown(By)
    ElementWrapper<AndroidElement>.VerifyElementShown(By)
    ElementWrapper<AndroidElement>.VerifyElementShown(By, Nullable<TimeSpan>)
    ElementWrapper<AndroidElement>.VerifyElementsShown(By)
    ElementWrapper<AndroidElement>.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Android.Elements.Core
    Assembly: Legerity.Android.dll
    Syntax
    public class EditText : AndroidElementWrapper, IElementWrapper<AndroidElement>

    Constructors

    | Improve this Doc View Source

    EditText(AndroidElement)

    Initializes a new instance of the EditText class.

    Declaration
    public EditText(AndroidElement element)
    Parameters
    Type Name Description
    AndroidElement element

    The representing the EditText element.

    Properties

    | Improve this Doc View Source

    Text

    Gets the text value of the text box.

    Declaration
    public virtual string Text { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    AppendText(String)

    Appends the specified text to the text box.

    Declaration
    public virtual void AppendText(string text)
    Parameters
    Type Name Description
    System.String text

    The text to append.

    | Improve this Doc View Source

    ClearText()

    Clears the text from the text box.

    Declaration
    public virtual void ClearText()
    | Improve this Doc View Source

    SetText(String)

    Sets the text of the text box to the specified text.

    Declaration
    public virtual void SetText(string text)
    Parameters
    Type Name Description
    System.String text

    The text to display.

    Operators

    | Improve this Doc View Source

    Implicit(AndroidElement to EditText)

    Allows conversion of a to the EditText without direct casting.

    Declaration
    public static implicit operator EditText(AndroidElement element)
    Parameters
    Type Name Description
    AndroidElement element

    The .

    Returns
    Type Description
    EditText

    The EditText.

    | Improve this Doc View Source

    Implicit(AppiumWebElement to EditText)

    Allows conversion of a to the EditText without direct casting.

    Declaration
    public static implicit operator EditText(AppiumWebElement element)
    Parameters
    Type Name Description
    AppiumWebElement element

    The .

    Returns
    Type Description
    EditText

    The EditText.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to EditText)

    Allows conversion of a to the EditText without direct casting.

    Declaration
    public static implicit operator EditText(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The .

    Returns
    Type Description
    EditText

    The EditText.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    AndroidElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    AndroidElementWrapperExtensions.WaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps