Package com.hp.lft.sdk.sap.gui
Interface CheckBox
- All Superinterfaces:
Element
,EnabledProvider
,LocationInfoProvider
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,WaitUntilEnabledProvider
A checkbox control 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
-
getAttachedText
Returns the text associated with the checkbox.- Returns:
- the text associated with the checkbox.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
isChecked
Indicates whether this check box is selected.- Returns:
- whether this check box is selected.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
set
Selects or unselects the check box.- Parameters:
state
- true to select.- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setFocus
Sets focus on the checkbox.- Throws:
GeneralLeanFtException
- if error occurs during execution
-