Package com.hp.lft.sdk.web
Interface Link
- All Superinterfaces:
- Clickable,- LocationInfoProvider,- SupportDragAndDrop,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- VisibleProvider,- WaitUntilVisibleProvider,- WebElement,- WebTestObject,- WebTestObjectDescriber
A Web hyperlink (or anchor) object.
- 
Method SummaryMethods 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.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.WaitUntilVisibleProviderwaitUntilVisible, waitUntilVisibleMethods inherited from interface com.hp.lft.sdk.web.WebElementdoubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipeMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectgetAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisibleMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriberdescribe, describe
- 
Method Details- 
getHrefReturns the location to which the browser navigates when the image is clicked.- Returns:
- the location to which the browser navigates when the image is clicked.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getBackgroundColorReturns this link's background color.- Returns:
- this link's background color.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getColorReturns this link's color.- Returns:
- this link's color.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getFontNameReturns this link's font.- Returns:
- this link's font.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTargetReturns the target frame of the navigation.- Returns:
- the target frame of the navigation. Possible values: Any valid HTML target attribute value, for example, framename, _blank, or _self.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-