Search Results for

    Show / Hide Table of Contents

    Class InputValidator

    Defines a wrapper for the MADE.NET UWP InputValidator control.

    Inheritance
    System.Object
    WindowsElementWrapper
    InputValidator
    Inherited Members
    WindowsElementWrapper.Driver
    WindowsElementWrapper.VerifyDriverElementShown(By, Nullable<TimeSpan>)
    WindowsElementWrapper.VerifyDriverElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Windows.Elements.MADE
    Assembly: Legerity.MADE.dll
    Syntax
    public class InputValidator : WindowsElementWrapper

    Constructors

    | Improve this Doc View Source

    InputValidator(WindowsElement)

    Initializes a new instance of the InputValidator class.

    Declaration
    public InputValidator(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The reference.

    Properties

    | Improve this Doc View Source

    Message

    Gets the validation feedback message associated with the ValidationFeedback element.

    Declaration
    public virtual string Message { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ValidationFeedback

    Gets the TextBlock associated with the validation feedback message.

    Declaration
    public virtual TextBlock ValidationFeedback { get; }
    Property Value
    Type Description
    TextBlock

    Methods

    | Improve this Doc View Source

    FeedbackMessage()

    Retrieves the feedback message text if the ValidationFeedback is shown.

    Declaration
    public virtual string FeedbackMessage()
    Returns
    Type Description
    System.String

    The feedback message text of the ValidationFeedback element.

    | Improve this Doc View Source

    Input(By)

    Retrieves the input element with the given locator.

    Declaration
    public AppiumWebElement Input(By locator)
    Parameters
    Type Name Description
    By locator

    The locator to find the input element.

    Returns
    Type Description
    AppiumWebElement

    The if found; otherwise, throws .

    Operators

    | Improve this Doc View Source

    Implicit(AppiumWebElement to InputValidator)

    Allows conversion of a to the InputValidator without direct casting.

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

    The .

    Returns
    Type Description
    InputValidator

    The InputValidator.

    | Improve this Doc View Source

    Implicit(RemoteWebElement to InputValidator)

    Allows conversion of a to the InputValidator without direct casting.

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

    The .

    Returns
    Type Description
    InputValidator

    The InputValidator.

    | Improve this Doc View Source

    Implicit(WindowsElement to InputValidator)

    Allows conversion of a to the InputValidator without direct casting.

    Declaration
    public static implicit operator InputValidator(WindowsElement element)
    Parameters
    Type Name Description
    WindowsElement element

    The .

    Returns
    Type Description
    InputValidator

    The InputValidator.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright (c) MADE Apps