public void MP01_Add_New_Patient() { LeftNavigation.PatientList.MyPatients.GoTo(); MyPatientsPage myPatients = new MyPatientsPage(); Driver.Wait(TimeSpan.FromSeconds(3)); var test = myPatients.test = extent.StartTest("Add new Patient", "Patient Details saved"); myPatients.AddPatientbutton(); myPatients.AddPatient("04/26/1992", "0720600610", "Home", "*****@*****.**", "Other"); extent.EndTest(test); extent.Flush(); }