Table of Contents

Interface ITabControl

A tab strip control in a SAP GUI for Windows application.

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

Properties

SelectedTab

The name of the selected tab.

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

Tabs

The list of tabs in the tab strip.

Declaration
ReadOnlyCollection<string> Tabs { get; }
Property Value
Type Description
ReadOnlyCollection<string>

Text

The text associated with the tab strip.

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

Tooltip

The tab strip's tooltip.

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

Methods

Select(string)

Selects a tab from the tab strip by name.

Declaration
void Select(string tab)
Parameters
Type Name Description
string tab

The name of the tab to select.

Select(uint)

Selects a tab in the tabstrip object by index.

Declaration
void Select(uint tabIndex)
Parameters
Type Name Description
uint tabIndex

1-based.

SetFocus()

Sets the focus on the tab strip.

Declaration
void SetFocus()
Remarks

Invoke this method before invoking methods that operate on the strip.

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)