History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: STORMWINDACCURACY-45
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Bernardo Heynemann
Reporter: Bernardo Heynemann
Votes: 0
Watchers: 0
Operations

Clone this issue
If you were logged in you would be able to see more operations.
Stormwind Accuracy

Get.RadioButton should be using the WebFormsElementIdComparer instead of Find.ByName

Created: 05/Aug/08 07:18 AM   Updated: 10/Aug/08 07:16 PM
Component/s: Browser Driver - WatiN, Fluent Interface - I
Affects Version/s: None
Fix Version/s: 0.3.0.0


 Description  « Hide
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();

}

 All   Comments   Change History   Subversion Commits   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
Bernardo Heynemann - 10/Aug/08 05:19 PM
Fixed in build 52.