Package com.hp.lft.sdk.web
Interface RadioGroup
- All Superinterfaces:
- Clickable,- EnabledProvider,- LocationInfoProvider,- SupportDragAndDrop,- SupportsNativeObject,- TestObject,- TestObjectDescriber,- VisibleProvider,- WaitUntilEnabledProvider,- WaitUntilVisibleProvider,- WebElement,- WebTestObject,- WebTestObjectDescriber
A set of Web radio buttons belonging to the same group.
- 
Method SummaryModifier and TypeMethodDescriptiongetItems()Returns the list of all items contained in the object.intReturns the index of the selected item in the radio group (or -1 if none is selected).Returns the currently selected item (or null if none is selected).getType()Returns the type of object as defined in the HTML input tag.booleanReturn whether an item in the group is selected.voidselect(int itemIndex) Selects the specified radio button from the radio group, replacing the previous selection.voidSelects the specified radio button from the radio group, replacing the previous selection.Methods inherited from interface com.hp.lft.sdk.EnabledProviderisEnabledMethods 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.WaitUntilEnabledProviderwaitUntilEnabled, waitUntilEnabledMethods 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- 
getTypeReturns the type of object as defined in the HTML input tag.- Returns:
- the type of object as defined in the HTML input tag.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedItemReturns the currently selected item (or null if none is selected).- Returns:
- the currently selected item (or null if none is selected).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getSelectedIndexReturns the index of the selected item in the radio group (or -1 if none is selected).- Returns:
- the index of the selected item in the radio group (or -1 if none is selected).
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
hasSelectedItemReturn whether an item in the group is selected.- Returns:
- True, if an item in the group is selected.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified radio button from the radio group, replacing the previous selection.- Parameters:
- item- the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
selectSelects the specified radio button from the radio group, replacing the previous selection.- Parameters:
- itemIndex- the index of the item to select.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
- 
getItemsReturns the list of all items contained in the object.- Returns:
- the list of all items contained in the object.
- Throws:
- GeneralLeanFtException- if error occurs during execution
 
 
-