Esempio n. 1
0
        public void AssignAssetWithDueDateAndSave()
        {
            Logger.LogMethodEntry("CourseContent", "AssignAssetWithDueDateAndSave",
                                  base.IsTakeScreenShotDuringEntryExit);
            AssignContentPage assignContent = new AssignContentPage();

            //Selecting assign radio button
            assignContent.SelectAssignedRadiobutton();
            //Set duedate
            assignContent.GetAndFillDueDate();
            //Setting due date and save
            assignContent.SaveProperties();
            Logger.LogMethodExit("CourseContent", "AssignAssetWithDueDateAndSave",
                                 base.IsTakeScreenShotDuringEntryExit);
        }
        public void AssignTheAssetforStartDateIcon()
        {
            Logger.LogMethodEntry("AssignmentCalendar",
                                  "AssignTheAssetforStartDateIcon",
                                  base.IsTakeScreenShotDuringEntryExit);
            base.SelectWindow("Assign");
            AssignContentPage assignContentPage = new AssignContentPage();

            //Select 'Assigned' radiobutton
            assignContentPage.SelectAssignRadiobuttonInAssignWindow();
            //Select current date
            assignContentPage.SelectCurrentDateInAssignWindow();
            //Set start and end date
            assignContentPage.SetStartAndEndDateAssignWindow();
            //Check availability notification
            assignContentPage.CheckAvailabilityNotification();
            //Save the properties
            assignContentPage.SaveProperties();
            Logger.LogMethodExit("AssignmentCalendar",
                                 "AssignTheAssetforStartDateIcon",
                                 base.IsTakeScreenShotDuringEntryExit);
        }