Example #1
0
        public void QuickLinkForPOS()
        {
            WebDriverWait waiter = new WebDriverWait(WebContext.WebDriver, TimeSpan.FromSeconds(MarksheetConstants.Timeout));

            String[] featureList = { "Curriculum" };
            FeatureBee.FeatureBeeLogin.LoginWithFeatureBee(featureList, FeatureBee.FeatureBeeLogin.iSIMSUserType.AssessmentCoordinator);

            var assessmentQuickLinks = new AssessmentQuickLinks();

            // Check if Assessment Quick links exists
            assessmentQuickLinks.CheckIfAssessmentQuickLinkExists(SeleniumHelper.iSIMSUserType.AssessmentCoordinator);

            // Wait for the ajax request to complete
            WaitUntillAjaxRequestCompleted();

            // Open Assessment Quick Links Dropdown for class teacher
            assessmentQuickLinks.OpenAssessmentQuickLinksDropdown(SeleniumHelper.iSIMSUserType.AssessmentCoordinator);

            assessmentQuickLinks.ClickAndVerifyPOSMarksheetLink(SeleniumHelper.iSIMSUserType.AssessmentCoordinator);
            POSSearchPannel posSearchPannel = new POSSearchPannel();
            string          PosTitle        = posSearchPannel.GetPOSTitle();

            Assert.AreEqual(PosTitle, "Programme of Study Tracking");
        }