Table of Contents

Interface ILabel

A label control in a SAP GUI for Windows application.

Namespace: HP.LFT.SDK.SAP.GUI
Assembly: HP.LFT.SDK.dll
Syntax
public interface ILabel : IElement, ITestObject, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject

Properties

IconName

The name of the icon used in the label.

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

IsHighlighted

Indicates whether the label is highlighted.

Declaration
bool IsHighlighted { get; }
Property Value
Type Description
bool

IsNumerical

Indicates whether the label is a numerical field.

Declaration
bool IsNumerical { get; }
Property Value
Type Description
bool

MaxLength

The maximum number of characters that can be displayed in the label.

Declaration
uint MaxLength { get; }
Property Value
Type Description
uint

RelativeId

The object's unique identifier relative to the parent window ID, in text format.

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

Text

The value of the label, either the text string or the icon name.

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

Methods

SetCursorPosition(uint)

Sets the position of the cursor within the static text label.

Declaration
void SetCursorPosition(uint pos)
Parameters
Type Name Description
uint pos

The 0-based character position.

SetFocus()

Sets the focus on the static text label.

Declaration
void SetFocus()

Extension Methods

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