Ejemplo n.º 1
0
        public void ThenDueDatesShouldShowSameTimeAtStudyPlanLevelAndWhichShouldMatchWithDueDatesOfPre_TestAndPost_Test()
        {
            try
            {
                DateTime dateTime = new DateTime();
                string   Tomorrow = DateTime.Today.AddDays(1).ToShortDateString();

                if (_gbInstructorUxPage.VerifyDate(Tomorrow))
                {
                    GenericHelper.Logs("due dates are correct", "PASSED");
                }
                else
                {
                    GenericHelper.Logs("due dates are correct", "FAILED");
                    throw new Exception("due dates are incorrect");
                }

                GenericHelper.SelectDefaultWindow();
            }
            catch (Exception e)
            {
                GenericHelper.Logs(e.ToString(), "FAILED");
                Assert.Fail(e.ToString());
            }
        }