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(); }
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); } }