Table of Contents

Interface IButton

A button in a SAP GUI for Windows application.

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

Properties

ContainerName

The name of the parent object.

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

Text

The text associated with the button.

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

Tooltip

The button's tooltip text.

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

Methods

Click()

Clicks the button.

Declaration
void Click()

SetFocus()

Sets focus on the button.

Declaration
void SetFocus()

Extension Methods

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