Esempio n. 1
0
        public void TearDownTest()
        {
            try
            {
                Browser.Driver.Navigate().GoToUrl(login.GetBaseURL() + "/Calendar/Calendar.aspx");
                PatientVisit.DeleteVisit(login.GetBaseURL());
            }

            catch (Exception)
            {
                Console.WriteLine("Visit could not be deleted.");
            }

            try
            {
                patient.DeletePatient(ref login);
            }

            catch (Exception)
            {
                Console.WriteLine("Patient could not be deleted.");
            }

            Browser.Driver.Quit();
            Reporting.Commit();
        }