Table of Contents

Interface ITabControl

A .NET Windows Forms tab control.

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 ITabControl : IUiObjectBase, IUiObjectBase, IClickable, IDoubleClickable, ILocationInfoProvider, ISupportSendKeys, ISupportDragAndDrop, IEnabledProvider, IVisibleProvider, ISupportsNativeObject, ITestObject, ITestObjectDescriber

Properties

AttachedText

The static text attached to this control.

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

ErrorText

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

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

SelectedTab

Returns the selected tab.

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

Tabs

Returns the tabs in this tab control.

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

Methods

Select(int, MouseButton)

Selects the specified tab item.

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

0-based index of the item.

MouseButton button

Optional: The mouse button used to select the list item. Default is left button.

Select(string, MouseButton)

Selects the specified tab item.

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

The text of the item to select from the tabcontrol.

MouseButton button

Optional: The mouse button used to select the list item. Default is 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)