Package com.hp.lft.sdk.sap.ui5
Interface RatingIndicator
- All Superinterfaces:
Clickable
,EnabledProvider
,LocationInfoProvider
,SupportDragAndDrop
,SupportsNativeObject
,TestObject
,TestObjectDescriber
,VisibleProvider
,WaitUntilEnabledProvider
,WaitUntilVisibleProvider
,WebElement
,WebTestObject
,WebTestObjectDescriber
An SAPUI5 rating indicator object.
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the highest rating level that can be set.Returns the visual orientation of rating indicator items.double
Returns the rating level set for this object.void
setRating
(int rating) Sets the rating level.Methods inherited from interface com.hp.lft.sdk.EnabledProvider
isEnabled
Methods inherited from interface com.hp.lft.sdk.LocationInfoProvider
getAbsoluteLocation, getLocation, getSize
Methods inherited from interface com.hp.lft.sdk.SupportDragAndDrop
dragAndDropOn, dragAndDropOn
Methods inherited from interface com.hp.lft.sdk.SupportsNativeObject
getNativeObject
Methods 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, waitUntilExists
Methods inherited from interface com.hp.lft.sdk.TestObjectDescriber
describe
Methods inherited from interface com.hp.lft.sdk.WaitUntilEnabledProvider
waitUntilEnabled, waitUntilEnabled
Methods inherited from interface com.hp.lft.sdk.WaitUntilVisibleProvider
waitUntilVisible, waitUntilVisible
Methods 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, swipe
Methods inherited from interface com.hp.lft.sdk.web.WebTestObject
getAttribute, getAttributes, getClassName, getComputedStyle, getComputedStyles, getId, getInnerHTML, getInnerText, getName, getOuterHTML, getOuterText, getTagName, getTitle, isVisible
Methods inherited from interface com.hp.lft.sdk.web.WebTestObjectDescriber
describe, describe
-
Method Details
-
getRating
Returns the rating level set for this object.- Returns:
- The rating level set for this object.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getMaxRating
Returns the highest rating level that can be set.- Returns:
- The highest rating level that can be set.
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
getOrientation
Returns the visual orientation of rating indicator items.- Returns:
- The visual orientation of rating indicator items. Possible values:
Orientation
- Throws:
GeneralLeanFtException
- if error occurs during execution
-
setRating
Sets the rating level.- Parameters:
rating
- the rating level to set.- Throws:
GeneralLeanFtException
- if error occurs during execution
-