public void WhenIEnrollTheSelectedPatientWithBelowDetailsForPatient_(string Patient, Table table)
        {
            IEnumerable <EnrollPatientData> PatientData = table.CreateSet <EnrollPatientData>();
            List <EnrollPatientData>        Data        = (List <EnrollPatientData>)PatientData;

            BP_PatientUtilities.EnrollAPatient(Patient, Data[0]);
        }
Exemple #2
0
        public void WhenIEnrollThePatientWithBelowData_(string Patient, Table table)
        {
            IEnumerable <EnrollPatientData> PatientData = table.CreateSet <EnrollPatientData>();
            List <EnrollPatientData>        Data        = (List <EnrollPatientData>)PatientData;

            if (!BP_PatientUtilities.EnrollAPatient(Patient, Data[0]))
            {
                ScenarioContext.Current["Comments"]  = ScenarioContext.Current["Comments"] + "Unable to enroll patient '" + Patient + "'. \n";
                ScenarioContext.Current["ActResult"] = "Failed";
            }
        }