Search Results for

    Show / Hide Table of Contents

    Class NumberInput

    Defines a wrapper for the core web Input number control.

    Inheritance
    System.Object
    WebElementWrapper
    TextInput
    NumberInput
    Implements
    IElementWrapper<RemoteWebElement>
    Inherited Members
    TextInput.Text
    TextInput.SetText(String)
    TextInput.AppendText(String)
    TextInput.ClearText()
    WebElementWrapper.Element
    WebElementWrapper.ElementDriver
    WebElementWrapper.Driver
    WebElementWrapper.IsEnabled
    WebElementWrapper.IsVisible
    WebElementWrapper.FindElement(By)
    WebElementWrapper.FindElements(By)
    WebElementWrapper.VerifyElementNotShown(By)
    WebElementWrapper.Click()
    WebElementWrapper.GetAttribute(String)
    WebElementWrapper.VerifyElementShown(By)
    WebElementWrapper.VerifyElementShown(By, Nullable<TimeSpan>)
    WebElementWrapper.VerifyElementsShown(By)
    WebElementWrapper.VerifyElementsShown(By, Nullable<TimeSpan>)
    Namespace: Legerity.Web.Elements.Core
    Assembly: Legerity.Web.dll
    Syntax
    public class NumberInput : TextInput, IElementWrapper<RemoteWebElement>

    Constructors

    | Improve this Doc View Source

    NumberInput(IWebElement)

    Initializes a new instance of the NumberInput class.

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

    The reference.

    | Improve this Doc View Source

    NumberInput(RemoteWebElement)

    Initializes a new instance of the NumberInput class.

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

    The reference.

    Properties

    | Improve this Doc View Source

    Maximum

    Gets the maximum value of the NumberBox.

    Declaration
    public virtual double Maximum { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Minimum

    Gets the minimum value of the NumberBox.

    Declaration
    public virtual double Minimum { get; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    Value

    Gets the value of the NumberBox.

    Declaration
    public virtual double Value { get; }
    Property Value
    Type Description
    System.Double

    Methods

    | Improve this Doc View Source

    Decrement()

    Decreases the number box value.

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

    Increment()

    Increases the number box value.

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

    SetValue(Double)

    Sets the value of the NumberBox.

    Declaration
    public virtual void SetValue(double value)
    Parameters
    Type Name Description
    System.Double value

    The value.

    Operators

    | Improve this Doc View Source

    Implicit(RemoteWebElement to NumberInput)

    Allows conversion of a to the NumberInput without direct casting.

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

    The .

    Returns
    Type Description
    NumberInput

    The NumberInput.

    Implements

    IElementWrapper<TElement>

    Extension Methods

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