Package com.hp.lft.sdk.web
Class WebElementDescription.Init<T extends WebElementDescription.Init<T>>
java.lang.Object
com.hp.lft.sdk.DescriptionBase.Init<T>
com.hp.lft.sdk.web.WebBaseDescription.Init<T>
com.hp.lft.sdk.web.WebElementDescription.Init<T>
- Direct Known Subclasses:
- AccordionDescription.Init,- AreaDescription.Init,- ButtonDescription.Init,- CalendarDescription.Init,- CarouselDescription.Init,- DatePickerDescription.Init,- DateTimeInputDescription.Init,- DialogDescription.Init,- FacetFilterDescription.Init,- FormFieldDescription.Init,- GridBaseDescription.Init,- HeaderDescription.Init,- ImageDescription.Init,- LabelDescription.Init,- LinkDescription.Init,- MediaControlDescription.Init,- MenubarDescription.Init,- MenuDescription.Init,- MenuDescription.Init,- NavigationBarDescription.Init,- NotificationBarDescription.Init,- PaginatorDescription.Init,- RadioGroupDescription.Init,- RatingIndicatorDescription.Init,- RoadMapDescription.Init,- RowRepeaterDescription.Init,- TableDescription.Init,- TabStripDescription.Init,- TabStripDescription.Init,- TileDescription.Init,- ToolBarDescription.Init,- TreeViewDescription.Init,- TreeViewDescription.Init,- WebElementDescription.Builder
- Enclosing class:
- WebElementDescription
protected abstract static class WebElementDescription.Init<T extends WebElementDescription.Init<T>>
extends WebBaseDescription.Init<T>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionaccessibilityName(StringProperty accessibilityName) Initializes the label of the object (where no text label is available).accessibilityName(String accessibilityName) Initializes the label of the object (where no text label is available).build()Returns the built description instance (builder pattern).cssSelector(CSSDescription cssSelector) Initializes the element's CSS Selector query.cssSelector(String cssSelector) Initializes the element's CSS Selector query.role(StringProperty role) Initializes the object's role property.Initializes the object's role property.xpath(XPathDescription xpath) Initializes the element's XPath.Initializes the element's XPath.Methods inherited from class com.hp.lft.sdk.web.WebBaseDescription.InitabsoluteLocation, absoluteLocation, absoluteLocation, attribute, attribute, attributes, className, className, id, id, innerHTML, innerHTML, innerText, innerText, location, location, location, name, name, outerHTML, outerHTML, outerText, outerText, size, size, size, style, style, styles, tagName, tagName, title, title, visibleMethods inherited from class com.hp.lft.sdk.DescriptionBase.Initindex, objectProperties, self, vri, vri
- 
Constructor Details- 
Initprotected Init()
 
- 
- 
Method Details- 
buildDescription copied from class:DescriptionBase.InitReturns the built description instance (builder pattern).- Overrides:
- buildin class- DescriptionBase.Init<T extends WebElementDescription.Init<T>>
- Returns:
- The built description instance (builder pattern).
 
- 
cssSelectorInitializes the element's CSS Selector query.- Parameters:
- cssSelector- the CSS Selector query to be used to describe the test object.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
cssSelectorInitializes the element's CSS Selector query.- Parameters:
- cssSelector- the CSS Selector query to be used to describe the test object.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
roleInitializes the object's role property.- Parameters:
- role- the function of the specified object.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
roleInitializes the object's role property.- Parameters:
- role- a StringProperty (or RegExpProperty) representing the function of the specified object.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
xpathInitializes the element's XPath.- Parameters:
- xpath- the XPathDescription to be used to describe the test object.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
xpathInitializes the element's XPath.- Parameters:
- xpath- the XPath to be used to describe the test object.
- Returns:
- the description instance with the update state (builder pattern).
 
- 
accessibilityNameInitializes the label of the object (where no text label is available).- Parameters:
- accessibilityName- the label of the object (where no text label is available).
- Returns:
- the description instance with the update state (builder pattern).
 
- 
accessibilityNameInitializes the label of the object (where no text label is available).- Parameters:
- accessibilityName- a StringProperty (or RegExpProperty) representing the label of the object (where no text label is available).
- Returns:
- the description instance with the update state (builder pattern).
 
 
-