Interface INumericField
A numeric Web form field.
public interface INumericField : IEditFieldCommon, IEditBase, IEnabledProvider, IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
- Inherited Members
- Extension Methods
Remarks
If a browser does not support this field, an edit field is used instead
HTML example: <input type=“number” max=50 min=30 step=3/>
Properties
DefaultNumericValue
The initial value in this field, which is set when this field is reset.
double DefaultNumericValue { get; }
Property Value
Max
The maximum value that can be entered in this field.
double Max { get; }
Property Value
Min
The minimum value that can be entered in this field.
double Min { get; }
Property Value
NumericValue
The current value in this field.
double NumericValue { get; }
Property Value
Methods
SetValue(double)
Sets the value in the field.
void SetValue(double value)
Parameters
valuedoubleThe numeric value to set in the field