Table of Contents

Interface IEditField

A Web edit box.

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 IEditField : IEditFieldCommon, IEditBase, IEnabledProvider, IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop

Methods

SetSecure(string)

Sets the encoded value of this edit box.

Declaration
void SetSecure(string encodedText)
Parameters
Type Name Description
string encodedText

The encoded text to enter in this edit box.

Remarks

Generate the encoded value using the Password Encoder utility, available from the OpenText Functional Testing for Developers > Tools menu in your IDE or from the Windows Start menu.

Note: The SetSecure method enables you to hide passwords displayed on the screen while running or editing a test, but it is not intended to be a secure way to protect password information.

Submit()

When working in a Web form, simulates pressing the Enter key while the focus is on the object specified in the statement.

Declaration
void Submit()
Remarks

Note: If the object is not part of a Web form, Submit has no effect.

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)