Table of Contents

Interface INumericField

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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

double

Max

The maximum value that can be entered in this field.

double Max { get; }

Property Value

double

Min

The minimum value that can be entered in this field.

double Min { get; }

Property Value

double

NumericValue

The current value in this field.

double NumericValue { get; }

Property Value

double

Methods

SetValue(double)

Sets the value in the field.

void SetValue(double value)

Parameters

value double

The numeric value to set in the field