public class RadioGroup extends InteractiveElement implements IRadioGroup
Element.HIGHLIGHT_MODES
Constructor and Description |
---|
RadioGroup(String locator) |
Modifier and Type | Method and Description |
---|---|
String |
getSelectedValue()
Implementing this method would allow for returning selected value on the RadioGroup widget
|
String |
getValue()
Throw Unsupported Operation exception if getValue() on Interactive element is invoked
|
List<String> |
getValues()
Implementing this method would allow for returning available values on the RadioGroup widget
|
void |
select(String value)
Implementing this method would allow for selecting a radio button with matching value on the RadioGroup widget based on text value
|
void |
setValue(Object value)
Implementing this method for an editable element would allow for setting
the
|
click, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, getLabel, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, type, typeAppend
eval, findElement, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getGUIDriver, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, setGUIDriver, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForCommand, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
click, clickAndHold, doubleClick, dragAndDrop, dragAndDropByOffset, isEnabled, keyDown, keyUp, mouseMove, mouseMoveOut, mouseOver, releaseClickAndHold, rightClick, sendKeys, type, typeAppend
getLabel
eval, fireEvent, focusOn, getAttribute, getByLocator, getChildNodesValuesText, getCssValue, getInnerHTML, getLocationX, getLocationY, getLocator, getText, getWebElement, hasText, highlight, highlight, isAttributePresent, isElementNotPresent, isElementNotPresent, isElementPresent, isElementPresent, isElementPresent, isElementVisible, isElementVisible, isWithinBoundsOfWindow, scrollTo, waitForAttribute, waitForAttribute, waitForAttributeEqualTo, waitForAttributeEqualTo, waitForAttributeNotEqualTo, waitForAttributeNotEqualTo, waitForElementNotPresent, waitForElementNotPresent, waitForElementPresent, waitForElementPresent, waitForEnabled, waitForEnabled, waitForNotAttribute, waitForNotAttribute, waitForNotVisible, waitForNotVisible, waitForText, waitForText, waitForVisible, waitForVisible
public RadioGroup(String locator)
public void setValue(Object value) throws WidgetException
IEditableElement
setValue
in interface IEditableElement
value
- - the value that the editable elementWidgetException
public String getValue() throws WidgetException
InteractiveElement
getValue
in interface IReadableElement
getValue
in class InteractiveElement
WidgetException
public void select(String value) throws WidgetException
IRadioGroup
select
in interface IRadioGroup
WidgetException
public String getSelectedValue() throws WidgetException
IRadioGroup
getSelectedValue
in interface IRadioGroup
WidgetException
public List<String> getValues() throws WidgetException
IRadioGroup
getValues
in interface IRadioGroup
WidgetException
Copyright © 2018. All rights reserved.