Search Results for

    Show / Hide Table of Contents

    Class TextField

    Defines a wrapper for the core iOS TextField control.

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

    Constructors

    | Improve this Doc View Source

    TextField(IOSElement)

    Initializes a new instance of the TextField class.

    Declaration
    public TextField(IOSElement element)
    Parameters
    Type Name Description
    IOSElement element

    The representing the TextField element.

    Properties

    | Improve this Doc View Source

    ClearTextButton

    Gets the element associated with the clear text button, if shown.

    Declaration
    public virtual Button ClearTextButton { get; }
    Property Value
    Type Description
    Button
    | Improve this Doc View Source

    Text

    Gets the text value of the text field.

    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 field.

    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 field.

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

    SetText(String)

    Sets the text of the text field 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(AppiumWebElement to TextField)

    Allows conversion of a to the TextField without direct casting.

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

    The .

    Returns
    Type Description
    TextField

    The TextField.

    | Improve this Doc View Source

    Implicit(IOSElement to TextField)

    Allows conversion of a to the TextField without direct casting.

    Declaration
    public static implicit operator TextField(IOSElement element)
    Parameters
    Type Name Description
    IOSElement element

    The .

    Returns
    Type Description
    TextField

    The TextField.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to TextField)

    Allows conversion of a to the TextField without direct casting.

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

    The .

    Returns
    Type Description
    TextField

    The TextField.

    Implements

    IElementWrapper<TElement>

    Extension Methods

    IOSElementWrapperExtensions.TryWaitUntil<TElementWrapper, TResult>(TElementWrapper, Func<TElementWrapper, TResult>, Nullable<TimeSpan>, Int32, Action<Exception>)
    IOSElementWrapperExtensions.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