Interface IRadioGroup
A set of Web radio buttons belonging to the same group.
public interface IRadioGroup : IWebElement, ITestObject, IClickable, IWebTestObject, IWebDescriber, ITestObjectDescriber, ILocationInfoProvider, ISupportsNativeObject, IVisibleProvider, ISupportDragAndDrop, IEnabledProvider
- Inherited Members
- Extension Methods
Properties
HasSelectedItem
Indicates whether a radio button is selected.
bool HasSelectedItem { get; }
Property Value
Items
The list of all items contained in this object.
ReadOnlyCollection<string> Items { get; }
Property Value
SelectedIndex
The index of the selected item in the radio group (or -1 if none is selected).
int SelectedIndex { get; }
Property Value
SelectedItem
The currently selected item (or null if none is selected).
string SelectedItem { get; }
Property Value
Type
The type of object as defined in the HTML input tag.
string Type { get; }
Property Value
Methods
Select(string)
Selects the specified radio button.
void Select(string item)
Parameters
itemstringThe radio button to select.
Select(uint)
Selects the specified radio button from the radio group, replacing the previous selection.
void Select(uint itemIndex)
Parameters
itemIndexuintThe index of the item to select.