tags:

views:

362

answers:

1

I have a long form to test, so I created a CompleteForm() helper method to complete the form. To test the validations, I am calling CompleteForm() and then making the field I want to test invalid. Can't figure out how to uncheck the radiobuttons.

+1  A: 

Just set the Checked property of the RadioButton object to false

To uncheck all the radio buttons on a page you could do:

foreach(RadioButton rb in ie.RadioButtons)
{       
    rb.Checked = false
}
Sam Warwick
I just found the comments feature. Thanks for your help; I new it would be something stupidly simple.
Leslie