Package com.hp.lft.sdk.wpf
Interface Button
- All Superinterfaces:
- Clickable,- DoubleClickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportSendKeys,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- UiObjectBase,- UiObjectBase,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider
A .NET WPF button control.
- 
Method SummaryModifier and TypeMethodDescriptionReturns help text associated with this button.getName()Returns the name of this object.Returns text associated with the parent object of this object.Returns this object, cast to a ToggleButton.Methods inherited from interface com.hp.lft.sdk.DoubleClickabledoubleClick, doubleClick, doubleClickMethods 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.SupportDragAndDropdragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportSendKeyssendKeys, sendKeysMethods 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.UiObjectBasegetHandle, getNativeClass, getWindowTitleRegExp, isFocused, mouseMoveMethods inherited from interface com.hp.lft.sdk.wpf.UiObjectBasecanFocus, getAttachedText, getFullNamePath, getFullType, getObjectName, getObjectProperty, getText, makeVisible, showContextMenuMethods inherited from interface com.hp.lft.sdk.VisibleProviderisVisibleMethods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisible
- 
Method Details- 
getParentTextReturns text associated with the parent object of this object.- Returns:
- the text
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNameReturns the name of this object.- Returns:
- the name of this object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getHelpTextReturns help text associated with this button.- Returns:
- the help text
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getToggleButtonToggleButton getToggleButton()Returns this object, cast to a ToggleButton. This method can be called only if this object is a toggle button.- Returns:
- this object with toggle button functionality
 
 
-