Package com.hp.lft.sdk.web
Interface Area
- All Superinterfaces:
- Clickable,- LocationInfoProvider,- SupportDragAndDrop,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- VisibleProvider,- WaitUntilVisibleProvider,- WebElement,- WebTestObject,- WebTestObjectDescriber
A section of an image on a Web page (usually a section of a client-side image map).
- 
Method SummaryModifier and TypeMethodDescriptiongetAlt()Returns this object's tooltip text.int[]Returns the coordinates of an area in an image-map.getHref()Returns the location to which the browser navigates when the object is clicked.Returns the name of the map element the image uses to define the area inside the image.getSrc()Returns this image source in URL format.Returns the target frame of the navigation.getType()Returns the image type.Methods 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- 
getAltReturns this object's tooltip text.- Returns:
- this object's tooltip text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSrcReturns this image source in URL format.- Returns:
- this image source in URL format.
- 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
 
- 
getHrefReturns the location to which the browser navigates when the object is clicked.- Returns:
- the location to which the browser navigates when the object is clicked.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTypeReturns the image type.- Returns:
- the image type. Possible values: see ImageType
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getMapNameReturns the name of the map element the image uses to define the area inside the image.- Returns:
- the name of the map element the image uses to define the area inside the image.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getCoordsReturns the coordinates of an area in an image-map. The coordinate format is determined by the shape of the area, for example:
 shape="rect" - x1,y1,x2,y2
 shape="circle" - x,y,radius
 shape="poly" - x1,y1,x2,y2,..,xn,yn- Returns:
- the coordinates of an area in an image-map.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-