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