Table of Contents

Interface IRadioGroup

Namespace
HP.LFT.SDK.Web
Assembly
HP.LFT.SDK.dll

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

bool

Items

The list of all items contained in this object.

ReadOnlyCollection<string> Items { get; }

Property Value

ReadOnlyCollection<string>

SelectedIndex

The index of the selected item in the radio group (or -1 if none is selected).

int SelectedIndex { get; }

Property Value

int

SelectedItem

The currently selected item (or null if none is selected).

string SelectedItem { get; }

Property Value

string

Type

The type of object as defined in the HTML input tag.

string Type { get; }

Property Value

string

Methods

Select(string)

Selects the specified radio button.

void Select(string item)

Parameters

item string

The radio button to select.

Select(uint)

Selects the specified radio button from the radio group, replacing the previous selection.

void Select(uint itemIndex)

Parameters

itemIndex uint

The index of the item to select.