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 SummaryModifier 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.voidselect(int tabIndex) Selects the specified tab by index.voidSelects the specified tab from the tab strip.voidsetFocus()Sets the focus to the tab strip.Methods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods inherited from interface com.hp.lft.sdk.TestObjectcallFTMethod, 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, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriberdescribeMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabled
- 
Method Details- 
getTextReturns the text associated with tab strip.- Returns:
- the text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTooltipReturns tab strip's tooltip.- Returns:
- the tooltip.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTabsReturns the list of tabs in the tab strip.- Returns:
- the list of tabs.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedTabReturns the name of the selected tab.- Returns:
- the name of the selected tab.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified tab from the tab strip.- Parameters:
- tab- the name of the tab.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified tab by index.- Parameters:
- tabIndex- 1-based.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
setFocusSets the focus to the tab strip. Invoke this method before methods that operate on the strip.- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-