Table of Contents

Interface INumericField

A numeric Web form field.

Inherited Members
IEditFieldCommon.DefaultValue
IEditFieldCommon.MaxLength
IEditFieldCommon.Pattern
IEditFieldCommon.RowsCount
IEditFieldCommon.Type
IEditBase.SetValue(string)
IEditBase.Value
IEditBase.Placeholder
IEditBase.IsReadOnly
IEditBase.IsRequired
IEditBase.MaxCharsInLine
IEnabledProvider.IsEnabled
IWebElement.DoubleClick()
IWebElement.DoubleClick(WebDoubleClickArgs)
IWebElement.HoverTap()
IWebElement.HoverTap(Location)
IWebElement.FireEvent(EventInfo)
IWebElement.LongPress()
IWebElement.LongPress(WebLongPressArgs)
IWebElement.Pan(long, long)
IWebElement.Pan(WebPanArgs)
IWebElement.Pinch(double)
IWebElement.Pinch(WebPinchArgs)
IWebElement.Swipe(SwipeDirection)
IWebElement.Swipe(WebSwipeArgs)
IWebElement.XPath
IWebElement.AccessibilityName
IWebElement.CSSSelector
IWebElement.Role
ITestObject.GetDescription()
ITestObject.SetDescription(IDescription)
ITestObject.FindChildren<TChild>(IDescription)
ITestObject.Exists()
ITestObject.Exists(uint)
ITestObject.GetSnapshot()
ITestObject.Highlight()
ITestObject.HighlightMatches<TChild>(IDescription)
ITestObject.GetTextLocations(string)
ITestObject.GetTextLocations(string, Rectangle)
ITestObject.GetVisibleText()
ITestObject.GetVisibleText(Rectangle)
ITestObject.VerifyImageExists(Image, byte)
ITestObject.VerifyImageMatch(Image, byte, byte)
ITestObject.VerifyImageMatch(Image, ImageMaskArea, byte, byte)
ITestObject.CallFTMethod(string, params object[])
ITestObject.CallFTMethod<TResult>(string, params object[])
ITestObject.Parent
ITestObject.DisplayName
IClickable.Click(MouseButton)
IClickable.Click(ClickArgs)
IWebTestObject.GetAttribute(string)
IWebTestObject.GetComputedStyle(string)
IWebTestObject.Describe<TChild>(IDescription)
IWebTestObject.Describe<TChild>(XPathDescription)
IWebTestObject.Describe<TChild>(CSSDescription)
IWebTestObject.ClassName
IWebTestObject.Id
IWebTestObject.TagName
IWebTestObject.InnerHTML
IWebTestObject.OuterHTML
IWebTestObject.InnerText
IWebTestObject.OuterText
IWebTestObject.Name
IWebTestObject.Title
IWebTestObject.Attributes
IWebTestObject.Styles
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportsNativeObject.NativeObject
IVisibleProvider.IsVisible
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop)
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop, DragAndDropArgs)
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

Extension Methods

TestObjectExtensions.WaitUntilEnabled<T>(T)
TestObjectExtensions.WaitUntilEnabled<T>(T, int)
TestObjectExtensions.WaitUntilExists<T>(T)
TestObjectExtensions.WaitUntilExists<T>(T, int)
TestObjectExtensions.WaitUntilVisible<T>(T)
TestObjectExtensions.WaitUntilVisible<T>(T, int)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>)
TestObjectExtensions.WaitUntil<T>(T, Func<T, bool>, int)