Package com.hp.lft.sdk.sap.gui
Interface TabControl
- All Superinterfaces:
Element
,EnabledProvider
,LocationInfoProvider
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,WaitUntilEnabledProvider
A tab strip control in a SAP GUI for Windows application.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the selected tab.getTabs()
Returns the list of tabs in the tab strip.getText()
Returns the text associated with tab strip.Returns tab strip's tooltip.void
select
(int tabIndex) Selects the specified tab by index.void
Selects the specified tab from the tab strip.void
setFocus()
Sets the focus to the tab strip.Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods inherited from interface com.hp.lft.sdk.TestObject
callFTMethod, callFTMethod, exists, exists, findChildren, getDescription, getDisplayName, getParent, getSnapshot, getTextLocations, getTextLocations, getVisibleText, getVisibleText, highlight, highlightMatches, setDescription, setDisplayName, verifyImageExists, verifyImageExists, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, verifyImageMatch, waitUntilExists, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
-
Method Details
-
getText
Returns the text associated with tab strip.- Returns:
- the text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getTooltip
Returns tab strip's tooltip.- Returns:
- the tooltip.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getTabs
Returns the list of tabs in the tab strip.- Returns:
- the list of tabs.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getSelectedTab
Returns the name of the selected tab.- Returns:
- the name of the selected tab.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects the specified tab from the tab strip.- Parameters:
tab
- the name of the tab.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
select
Selects the specified tab by index.- Parameters:
tabIndex
- 1-based.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setFocus
Sets the focus to the tab strip. Invoke this method before methods that operate on the strip.- Throws:
GeneralLeanFtException
- if error occurs during execution
-