private void VerifyCheckedValue(ref TestExpectation fieldName, CheckBox resulted)
 {
     try
     {
         fieldName.ActualCheckVal = resulted.Checked;
         fieldName.AssertRadioButtonCheckBox(true, null);
     }
     catch (Exception ex)
     {
         fieldName.RadioBtnErrMsg = ex.Message;
     }
 }
 private void VerifyCheckedValue(ref TestExpectation fieldName, RadioButton resulted)
 {
     try
     {
         fieldName.ActualCheckVal = resulted.Checked;
         string errMsg       = "";
         bool   oneIsChecked = GetCheckedButtonInGroup(resulted, ref errMsg);
         fieldName.AssertRadioButtonCheckBox(oneIsChecked, errMsg);
     }
     catch (Exception ex)
     {
         fieldName.RadioBtnErrMsg = ex.Message;
     }
 }