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 Summary
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOnMethods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObjectMethods 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, waitUntilExistsMethods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describeMethods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisibleMethods inherited from interface com.hp.lft.sdk.web.WebElement
doubleClick, doubleClick, fireEvent, getAccessibilityName, getCSSSelector, getRole, getXPath, hoverTap, hoverTap, longPress, longPress, pan, pan, pinch, pinch, swipe, swipeMethods inherited from interface com.hp.lft.sdk.web.WebTestObject
getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisibleMethods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriber
describe, describe
-
Method Details
-
getHref
Returns 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
-
getBackgroundColor
Returns this link's background color.- Returns:
- this link's background color.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getColor
Returns this link's color.- Returns:
- this link's color.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getFontName
Returns this link's font.- Returns:
- this link's font.
- Throws:
GeneralLeanFtException- if error occurs during execution
-
getTarget
Returns 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
-