Table of Contents

Interface IEditField

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

A Web edit box.

public interface IEditField : IEditFieldCommon, IEditBase, IEnabledProvider, IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop
Inherited Members
Extension Methods

Methods

SetSecure(string)

Sets the encoded value of this edit box.

void SetSecure(string encodedText)

Parameters

encodedText string

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.

void Submit()

Remarks

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