Table of Contents

Interface IEditor

A .NET Windows Forms multi-line edit box.

Inherited Members
IUiObjectBase.FireEvent(string, params object[])
IUiObjectBase.GetObjectProperty<TValue>(string)
IUiObjectBase.IsChildWindow
IUiObjectBase.IsOwnedWindow
IUiObjectBase.ObjectName
IUiObjectBase.FullNamePath
IUiObjectBase.FullType
IUiObjectBase.Text
IUiObjectBase.WindowClassRegExp
IUiObjectBase.WindowId
IUiObjectBase.MouseMove(Location)
IUiObjectBase.IsFocused
IUiObjectBase.NativeClass
IUiObjectBase.WindowTitleRegExp
IUiObjectBase.Handle
IClickable.Click(MouseButton)
IClickable.Click(ClickArgs)
IDoubleClickable.DoubleClick(MouseButton)
IDoubleClickable.DoubleClick(ClickArgs)
ILocationInfoProvider.Location
ILocationInfoProvider.AbsoluteLocation
ILocationInfoProvider.Size
ISupportSendKeys.SendKeys(string, KeyModifier)
ISupportSendKeys.SendKeys(string)
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop)
ISupportDragAndDrop.DragAndDropOn(ISupportDragAndDrop, DragAndDropArgs)
IEnabledProvider.IsEnabled
IVisibleProvider.IsVisible
ISupportsNativeObject.NativeObject
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
ITestObjectDescriber.Describe<TChild>(IDescription)
Namespace: HP.LFT.SDK.WinForms
Assembly: HP.LFT.SDK.dll
Syntax
public interface IEditor : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber

Properties

CursorColumn

The character the cursor is on in the line the cursor is on (0-based).

Declaration
int CursorColumn { get; }
Property Value
Type Description
int

CursorLine

The line the cursor is on in this object (0-based).

Declaration
int CursorLine { get; }
Property Value
Type Description
int

ErrorText

Returns the tooltip text of the error icon associated with this object.

Declaration
string ErrorText { get; }
Property Value
Type Description
string

SelectedText

The selected text in this control.

Declaration
string SelectedText { get; }
Property Value
Type Description
string

Methods

Select(int, int, int, int)

Selects text in a multi-line editor. All positions are 0-based.

Declaration
void Select(int fromLine, int fromCharPos, int toLine, int toCharPos)
Parameters
Type Name Description
int fromLine

The line at which the selection starts, inclusive.

int fromCharPos

The character position at which the selection starts, inclusive.

int toLine

The line at which the selection ends, inclusive.

int toCharPos

The character position at which the selection ends, inclusive.

SetCursorPosition(int, int)

Places the cursor at the specified point in this multi-line editor.

Declaration
void SetCursorPosition(int line, int charPos)
Parameters
Type Name Description
int line

The zero-based row position at which the insertion point is placed.

int charPos

The zero-based character position at which the insertion point is placed.

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)