
Clone this issue
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
This should be the code in Get.RadionButtons.
internal
RadioButton[] RadioButtons(string id)
{
var allRadioButtons = ie.RadioButtons;
if (!string.IsNullOrEmpty(GenericContext<Context>.Current.CurrentFrame))
allRadioButtons = Frame(
GenericContext<Context>.Current.CurrentFrame).RadioButtons;
var radioButtons = allRadioButtons.Filter(Find.By("Id", new WebFormsElementIdComparer(id)));
var rdbs = new List<RadioButton>();
foreach (RadioButton radioButton in radioButtons)
{
rdbs.Add(radioButton);
}
return rdbs.ToArray();
}
|
|
Description
|
This should be the code in Get.RadionButtons.
internal
RadioButton[] RadioButtons(string id)
{
var allRadioButtons = ie.RadioButtons;
if (!string.IsNullOrEmpty(GenericContext<Context>.Current.CurrentFrame))
allRadioButtons = Frame(
GenericContext<Context>.Current.CurrentFrame).RadioButtons;
var radioButtons = allRadioButtons.Filter(Find.By("Id", new WebFormsElementIdComparer(id)));
var rdbs = new List<RadioButton>();
foreach (RadioButton radioButton in radioButtons)
{
rdbs.Add(radioButton);
}
return rdbs.ToArray();
} |
Show » |
|