Since TestStack.White cannot access the underlying object model, you will have to come up with a βCreateβ button or a Reset button. Or some GUI way (with logic) to clear Checkbox values ββby setting BindingSource's boolean fields to false.
Here is an example psuedo code to illustrate.
private void New_Click(object sender, System.EventArgs e) { DataTable dt = (DataTable)dgv.DataSource; dt[1]["IsAdmin"].value = false; //In ASP.Net you also need a dgv.Bind(); //this is not necessary in winforms }
Your system should have a check method with cleared checkboxes; it should match how the end user does it.
source share