Table of Contents

Interface ITabControl

A standard Windows tab control in a dialog box.

Inherited Members
IUiObjectWithLayoutInfo.IsRightAligned
IUiObjectWithLayoutInfo.IsRightToLeftLayout
IUiObjectWithLayoutInfo.IsRightToLeftReading
IUiObjectBase.AccessibleName
IUiObjectBase.AttachedText
IUiObjectBase.Text
IUiObjectBase.WindowExtendedStyle
IUiObjectBase.WindowStyle
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
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.StdWin
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITabControl : IUiObjectWithLayoutInfo, IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ITestObject, ITestObjectDescriber

Properties

SelectedTab

Returns the selected tab in the tab control.

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

Tabs

Returns all the tabs in the tab control.

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

Methods

GetTab(string)

Returns the tab with the specified name.

Declaration
ITab GetTab(string name)
Parameters
Type Name Description
string name

The name of the tab.

Returns
Type Description
ITab

Select(ITab, MouseButton)

Selects the specified tab in the tab control.

Declaration
void Select(ITab tab, MouseButton button = MouseButton.Left)
Parameters
Type Name Description
ITab tab

The tab to select from the tab control.

MouseButton button

Optional: The mouse button used to select the tab. Possible values: MouseButton(default value: left button)

Select(int, MouseButton)

Selects the specified tab by tab index.

Declaration
void Select(int tabIndex, MouseButton button = MouseButton.Left)
Parameters
Type Name Description
int tabIndex

The index of tab to select from the tab control.

MouseButton button

Optional: The mouse button used to select the tab. Possible values: MouseButton

(default value: left button)

Select(string, MouseButton)

Selects the specified tab by tab name.

Declaration
void Select(string tab, MouseButton button = MouseButton.Left)
Parameters
Type Name Description
string tab

The tab to select from the tab control.

MouseButton button

Optional: The mouse button used to select the tab. Possible values: MouseButton

(default value: left button)

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)