Exemplo n.º 1
0
        public void ShouldRedirectToPupilLogPage_OnClickOfPupilLogLink()
        {
            AttendanceNavigations.NavigateToEditMarksMenuPage();
            var group = new AttendanceSearchPanel();

            group.Select("Year Group", "Year 1", "Year 2");
            group.EnterDate(SeleniumHelper.GetFirstDayOfWeek(DateTime.Now).ToShortDateString());
            AttendanceDetails    editMarksPage = group.EditMarksSearchButton();
            EditMarksPupilDetail plog          = editMarksPage.ClickPupilLink();

            plog.ClickViewPupilLogLink();
            Assert.IsTrue(plog.pupilLogPage.Displayed);
        }
Exemplo n.º 2
0
        public void CreateAttendaceNoteWithoutPinNote()
        {
            AttendanceNavigations.NavigateToEditMarksMenuPage();
            var group = new AttendanceSearchPanel();

            group.Select("Year Group", "Year 1", "Year 2");
            group.EnterDate(SeleniumHelper.GetFirstDayOfWeek(DateTime.Now).ToShortDateString());
            AttendanceDetails    editMarksPage = group.EditMarksSearchButton();
            EditMarksPupilDetail plog          = editMarksPage.ClickPupilLink();

            plog.ClickOnAttendanceNoteButton();
            plog.EnterTextInAttendanceNoteTextArea("Test Note For Attendance Plog");
            plog.EnterTitle("AttendanceNote");
            AttendanceDetails    editMarksPage1 = plog.AttendanceNoteTextSave();
            EditMarksPupilDetail plog1          = editMarksPage1.ClickPupilLink();

            plog1.ClickViewPupilLogLink();
            Assert.IsTrue(plog.AttendanceNoteOnPupilLogPage.Displayed);
        }