Search Results for

    Show / Hide Table of Contents

    Class TextBox

    Defines a wrapper for the core TextBox control.

    Inheritance
    System.Object
    UnoElementWrapper
    TextBox
    Inherited Members
    UnoElementWrapper.Element
    UnoElementWrapper.Driver
    UnoElementWrapper.IsEnabled
    UnoElementWrapper.IsVisible
    UnoElementWrapper.FindElement(By)
    UnoElementWrapper.FindElements(By)
    UnoElementWrapper.Click()
    UnoElementWrapper.GetAttribute(String)
    UnoElementWrapper.VerifyElementShown(By)
    UnoElementWrapper.VerifyElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementsShown(By)
    UnoElementWrapper.VerifyElementsShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyElementNotShown(By)
    UnoElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    UnoElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Uno.Elements
    Assembly: Legerity.Uno.dll
    Syntax
    public class TextBox : UnoElementWrapper

    Constructors

    | Improve this Doc View Source

    TextBox(IWebElement)

    Initializes a new instance of the TextBox class.

    Declaration
    public TextBox(IWebElement element)
    Parameters
    Type Name Description
    IWebElement element

    The reference.

    | Improve this Doc View Source

    TextBox(RemoteWebElement)

    Initializes a new instance of the TextBox class.

    Declaration
    public TextBox(RemoteWebElement element)
    Parameters
    Type Name Description
    RemoteWebElement element

    The reference.

    Properties

    | Improve this Doc View Source

    InputElement

    Gets the element associated with the text box input.

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

    IsReadonly

    Gets a value indicating whether the text box is in a readonly state.

    Declaration
    public virtual bool IsReadonly { get; }
    Property Value
    Type Description
    System.Boolean
    | 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(RemoteWebElement to TextBox)

    Allows conversion of a to the TextBox without direct casting.

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

    The .

    Returns
    Type Description
    TextBox

    The TextBox.

    Extension Methods

    ElementWrapperExtensions.WaitUntil<TElementWrapper>(TElementWrapper, Func<TElementWrapper, Boolean>, Nullable<TimeSpan>)
    ElementWrapperExtensions.FindWebElementByXamlType(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByXamlName(UnoElementWrapper, String)
    ElementWrapperExtensions.FindElementByAutomationId(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdEquals(UnoElementWrapper, String)
    ElementWrapperExtensions.VerifyNameOrAutomationIdContains(UnoElementWrapper, String)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps