Package com.hp.lft.sdk.web
Interface WebTestObject
- All Superinterfaces:
- LocationInfoProvider,- SupportsNativeObject,- TestObjectDescriber,- VisibleProvider,- WaitUntilVisibleProvider,- WebTestObjectDescriber
- All Known Subinterfaces:
- Accordion,- AgGrid,- Area,- AudioControl,- Button,- Button,- Calendar,- Carousel,- CheckBox,- CheckBox,- DatePicker,- DateTimeInput,- Dialog,- EditField,- EditField,- FacetFilter,- FileField,- Frame,- GridBase<T>,- Header,- Image,- Label,- Link,- ListBox,- ListBox,- Menu,- Menu,- Menubar,- NavigationBar,- NotificationBar,- NumericField,- Paginator,- Password,- RadioButton,- RadioGroup,- RadioGroup,- RatingIndicator,- RoadMap,- RowRepeater,- Slider,- Table,- Table,- TabStrip,- TabStrip,- Tile,- ToggleButton,- ToolBar,- TreeView,- TreeView,- UiGrid,- VideoControl,- WebElement
public interface WebTestObject
extends LocationInfoProvider, WebTestObjectDescriber, SupportsNativeObject, WaitUntilVisibleProvider
A generic Web test object used only for implementation. Do not use to describe a concrete web test object.
- 
Method SummaryModifier and TypeMethodDescriptiongetAttribute(String attributeName) Returns the value of a single attribute.Returns a copy of the collection of attributes that is attached to the element, for example, "id","class",etc.Returns the element's CSS class.getComputedStyle(String styleProperty) Returns the value of a single style.Returns the element's computed styles as a dictionary with the name of the style as the key.getId()Returns the element's HTML identifier.Returns the element's HTML not including the current element.Returns the text contained between the object's start and end tags.getName()Returns the object's name.Returns the element's HTML, including the current element.Returns the object's text.Returns the element's tag name.getTitle()Returns the element's title attribute.booleanIndicates whether the current element is visible.Methods inherited from interface com.hp.lft.sdk.LocationInfoProvidergetAbsoluteLocation, getLocation, getSizeMethods inherited from interface com.hp.lft.sdk.SupportsNativeObjectgetNativeObjectMethods 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.WebTestObjectDescriberdescribe, describe
- 
Method Details- 
getClassNameReturns the element's CSS class.- Returns:
- the element's CSS class.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getIdReturns the element's HTML identifier.- Returns:
- the element's HTML identifier.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTagNameReturns the element's tag name.- Returns:
- the element's tag name.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getInnerHTMLReturns the element's HTML not including the current element.- Returns:
- the element's HTML not including the current element.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getOuterHTMLReturns the element's HTML, including the current element.- Returns:
- the element's HTML, including the current element.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getInnerTextReturns the text contained between the object's start and end tags.- Returns:
- the text contained between the object's start and end tags.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getOuterTextReturns the object's text.
 Note: Supported in Internet Explorer only.- Returns:
- the object's text.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getNameReturns the object's name.- Returns:
- the object's name.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getTitleReturns the element's title attribute.- Returns:
- the element's title attribute.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
isVisibleIndicates whether the current element is visible.- Specified by:
- isVisiblein interface- VisibleProvider
- Returns:
- true, if the current element is visible.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getAttributesReturns a copy of the collection of attributes that is attached to the element, for example, "id","class",etc.- Returns:
- a copy of the collection of attributes that is attached to the element for example, "id","class",etc.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getAttributeReturns the value of a single attribute.- Parameters:
- attributeName- the attribute name for the value to retrieve.
- Returns:
- the value of the specified attribute (null if the attribute does not exist).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getComputedStylesReturns the element's computed styles as a dictionary with the name of the style as the key.- Returns:
- the element's computed styles as a dictionary with the name of the style as the key.
 Note: returns an empty collection when run against Internet Explorer 8 or when the document mode of another Internet Explorer version is set to Internet 8 or earlier.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getComputedStyleReturns the value of a single style.- Parameters:
- styleProperty- the style property for the value to retrieve.
- Returns:
- the value of the specified style (null if the style property does not exist).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-