示例#1
0
 public void CreateNewPatient(string birthdate, string email, string primaryPhone, string PrimaryPhoneType, string gender, string secondaryPhone, string SecondaryPhoneType)
 {
     NewPatient();
     SetMethods.RandomName(FirstName);
     SetMethods.RandomName(MiddleName);
     SetMethods.RandomName(LastName);
     Patient_Birthdate(birthdate);
     PatientEmail(email);
     PatientPrimaryPhone(primaryPhone);
     PatientPrimaryPhoneType(PrimaryPhoneType);
     PatientGender(gender);
     PatientSecondaryPhone(secondaryPhone);
     PatientSecondaryPhoneType(SecondaryPhoneType);
     PatientContinue();
 }
示例#2
0
 public void PatientLastName()
 {
     try { SetMethods.RandomName(LastName);
           test.Log(LogStatus.Pass, "Patient Last Name is added"); }
     catch (Exception e) { test.Log(LogStatus.Fail, "Patient Last Name is not added", e); }
 }