Class RealHtmlRadioList
- java.lang.Object
-
- com.axway.ats.uiengine.elements.UiElement
-
- com.axway.ats.uiengine.elements.UiRadioList
-
- com.axway.ats.uiengine.elements.html.HtmlRadioList
-
- com.axway.ats.uiengine.elements.html.realbrowser.RealHtmlRadioList
-
public class RealHtmlRadioList extends HtmlRadioList
A list of HTML Radio Buttons with same name. Only one radio button can be selected at a time.- See Also:
RealHtmlElement
-
-
Field Summary
-
Fields inherited from class com.axway.ats.uiengine.elements.UiElement
log, properties
-
-
Constructor Summary
Constructors Constructor Description RealHtmlRadioList(UiDriver uiDriver, UiElementProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisSelected(String value)voidselect(String value)set the selected valuevoidverifyNotValue(String notExpectedValue)Verify the selected value is NOT as specifiedvoidverifyValue(String expectedValue)Verify the selected value is as specified-
Methods inherited from class com.axway.ats.uiengine.elements.UiElement
checkTypeAndRules, getElementProperties, getElementProperty, getPropertyNamesToUseForMatch, getUiDriver, logAction, toString
-
-
-
-
Constructor Detail
-
RealHtmlRadioList
public RealHtmlRadioList(UiDriver uiDriver, UiElementProperties properties)
-
-
Method Detail
-
select
public void select(String value)
set the selected value- Specified by:
selectin classUiRadioList- Parameters:
value- the value to select(this is the 'value' attribute of the radio button)
-
isSelected
public boolean isSelected(String value)
- Specified by:
isSelectedin classUiRadioList- Returns:
- if this is the selected value(we pass the 'value' attribute of the radio button)
-
verifyValue
public void verifyValue(String expectedValue)
Verify the selected value is as specified- Specified by:
verifyValuein classUiRadioList- Parameters:
expectedValue-
-
verifyNotValue
public void verifyNotValue(String notExpectedValue)
Verify the selected value is NOT as specified- Specified by:
verifyNotValuein classUiRadioList- Parameters:
notExpectedValue-
-
-