public void CC01_Appointment_With_New_Patient() { LeftNavigation.Calendar.ClinicCalendar.GoTo(); Driver.Wait(TimeSpan.FromSeconds(5)); ClinicCalendarPage cal = new ClinicCalendarPage(); var test = cal.test = extent.StartTest("CC01 - Appointment with New Patient", "Appointment added from Clinic Calendar with a New Patient Created"); cal.AddAppointmentButton(); Driver.Wait(TimeSpan.FromSeconds(2)); cal.NewPatient(); cal.PatientFirstName(); cal.PatientLastName(); cal.PatientEmail("*****@*****.**"); cal.Patient_Birthdate("01/26/1992"); cal.PatientPrimaryPhone("0720600610"); cal.PatientPrimaryPhoneType("Cell"); cal.PatientSecondaryPhone("123"); cal.PatientSecondaryPhoneType("Home"); cal.PatientGender("Male"); cal.PatientContinue(); cal.Appointment_Complaint("Complaint 1"); cal.Appointment_PractitionerNotes("Note 1"); cal.Appointment_Type("Self-Pay"); cal.Appointment_Date_and_Time("07/10/2018", "18:30:00"); cal.Appointment_Practitioner("Ana Zina"); cal.Appointment_Location("Bear Mask Acupuncture"); cal.Appointment_Service("Acupuncture"); cal.Appointment_Room("Black Room"); cal.Appointment_Save(); extent.EndTest(test); extent.Flush(); }