Interface INumericField
A numeric Web form field.
Inherited Members
Namespace: HP.LFT.SDK.Web
Assembly: HP.LFT.SDK.dll
Syntax
public interface INumericField : IEditFieldCommon, IEditBase, IEnabledProvider, IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
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.
Declaration
double DefaultNumericValue { get; }
Property Value
| Type | Description |
|---|---|
| double |
Max
The maximum value that can be entered in this field.
Declaration
double Max { get; }
Property Value
| Type | Description |
|---|---|
| double |
Min
The minimum value that can be entered in this field.
Declaration
double Min { get; }
Property Value
| Type | Description |
|---|---|
| double |
NumericValue
The current value in this field.
Declaration
double NumericValue { get; }
Property Value
| Type | Description |
|---|---|
| double |
Methods
SetValue(double)
Sets the value in the field.
Declaration
void SetValue(double value)
Parameters
| Type | Name | Description |
|---|---|---|
| double | value | The numeric value to set in the field |