Package com.hp.lft.sdk.sap.gui
Interface Button
- All Superinterfaces:
Element
,EnabledProvider
,LocationInfoProvider
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,WaitUntilEnabledProvider
A button in a SAP GUI for Windows application
-
Method Summary
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
-
getContainerName
Returns the name of the parent object.- Returns:
- the name of the parent object.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getText
Returns the text associated with the button.- Returns:
- the text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getTooltip
Returns the button's tooltip text.- Returns:
- the tooltip text.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
click
Clicks the button.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setFocus
Sets focus on the button.- Throws:
GeneralLeanFtException
- if error occurs during execution
-