public void ThenClickOnBackToHomeTakesMeBackToHomePage()
 {
     ClickbackToHomeBtn();
     TlevelDashboardPage.VerifyDashboardpage();
     //Assert.IsTrue(WebDriver.Url.Contains("home"));
     //Assert.IsTrue(WebDriver.Title.Contains("Home page – Manage T Level results – GOV.UK"));
 }
        public void GivenINavigateToTheManageLearnerRecordSearchForALearnerPage()
        {
            TlevelDashboardPage.ClickManageLearnerRecordsLink();
            LearnerManageLearnerRecordsPage.ClickUpdateLearnerRecordLink();

            LearnerSearchForLearnerPage.VerifySearchForALearnerPage();
        }
 public static void CheckBackToHome()
 {
     ClickButton(backToHomeBtn);
     TlevelDashboardPage.VerifyDashboardpage();
     //Assert.IsTrue(WebDriver.Title.Equals("Home page – Manage T Level results – GOV.UK"));
     //Assert.IsTrue(WebDriver.Url.Contains("home"));
 }
        public void WhenISearchForMyUlNThroughTheResultsOptionOnTheDashboard()
        {
            string uln = _scenarioContext["uln"] as string;

            TlevelDashboardPage.ClickResultsLink();
            ResultsDashboardPage.ClickSearchForALearnerLink();
            ResultsSearchForALearnerPage.EnterULN(uln);
        }
        public void WhenISearchForMyUlNThroughTheReviewsOptionOnTheDashboard()
        {
            string uln = _scenarioContext["uln"] as string;

            TlevelDashboardPage.ClickReviewAndAppealsLinks();
            ReviewAndAppealsStartPage.PressContinueBtn();
            ReviewsAndAppealsSearchLearner.EnterUln(uln);
            ReviewsAndAppealsSearchLearner.ClickSearchBtn();
        }
        public void GivenICaptureTheURLForTheTheAreYouSureYouWantToRemoveThisCoreAssessmentEntryPage()
        {
            var uln = _scenarioContext["uln"] as string;

            TlevelDashboardPage.ClickAssessmentEntriesLink();
            ClickElement(AssessmentEntriesPage.SearchForLearnerLink);
            AssessmentEntriesSearchForLearnerPage.EnterULN(uln);
            AssessmentEntriesLearnersAssessmentEntriesPage.ClickAddEntryLink();
            webUrl = WebDriver.Url;
        }
Esempio n. 7
0
        public void GivenINavigateToTheHasTheLearnerCompletedTheIPPage()
        {
            TlevelDashboardPage.ClickManageLearnerRecordsLink();
            LearnerManageLearnerRecordsPage.ClickAddANewLearnerRecordLink();

            var uln = _scenarioContext["uln"] as string;

            WebDriver.FindElement(By.Id("enteruln")).Clear();
            LearnerAddLearnerPage.EnterULN(uln);
        }
        public void WhenIPressTheSearchAgainButtonOnTheReviewAndAppealsLearnerComponentGradeStatusPage()
        {
            TlevelDashboardPage.ClickReviewAndAppealsLinks();
            string uln = _scenarioContext["uln"] as string;

            ReviewAndAppealsStartPage.PressContinueBtn();
            ReviewsAndAppealsSearchLearner.EnterUln(uln);
            ReviewsAndAppealsSearchLearner.ClickSearchBtn();
            RAULearnersComponentGradesStatusPage.ClickSearchAgainBtn();
        }
Esempio n. 9
0
        public void GivenINavigateToThePage(string p0)
        {
            TlevelDashboardPage.ClickManageLearnerRecordsLink();
            LearnerManageLearnerRecordsPage.ClickAddANewLearnerRecordLink();

            var uln = _scenarioContext["uln"] as string;

            WebDriver.FindElement(By.Id("enteruln")).Clear();
            LearnerAddLearnerPage.EnterULN(uln);
            LearnerAchievedMinStandardForEnglishAndMathsPage.VerifyMinStandardAchievedForEnglishMathsPage();
        }
        public void GivenIAddAResultToTheRegistration()
        {
            var uln = _scenarioContext["uln"] as string;

            AssessmentEntriesLearnersAddNextCoreAssessmentEntryPage.PressBackLink();
            AssessmentEntriesLearnersAssessmentEntriesPage.PressHomeBreadcrumb();
            TlevelDashboardPage.ClickResultsLink();
            ResultsDashboardPage.ClickSearchForALearnerLink();
            ResultsSearchForALearnerPage.EnterULN(uln);
            ResultsLearnersResultsPage.ClickAddResultLink();
            ResultsSelectCorePage.SelectAStarResult();
        }
Esempio n. 11
0
 public void ThenIWillBeNavigatedToTheRegistrationsDashboardPage()
 {
     TlevelDashboardPage.VerifyDashboardpage();
 }
 public void ThenIShouldBeNavigatedBackToHomePage()
 {
     TlevelDashboardPage.VerifyDashboardpage();
 }
Esempio n. 13
0
 public void ThenIWillBeNavigatedToTheTLevelsDashboardPage()
 {
     TlevelDashboardPage.VerifyDashboardpage();
 }
 public void ThenIShouldSeeProviderHomePage()
 {
     TlevelDashboardPage.VerifyDashboardpage();
 }
 public static void ClickHomeBreadcrumb()
 {
     ClickElement(homeBreadcrumb);
     TlevelDashboardPage.VerifyDashboardpage();
 }
 public void GivenIAmOnReviewsAndAppealsSearchForLearnerPage()
 {
     TlevelDashboardPage.ClickReviewAndAppealsLinks();
     ReviewAndAppealsStartPage.PressContinueBtn();
 }
 public void WhenIClickOnTheTLevelsLinkOnTheHomepage()
 {
     TlevelDashboardPage.ClickTLevelsLinks();
 }
Esempio n. 18
0
 public static void VerifyBackToHome()
 {
     ClickButton(backHomeBtn);
     TlevelDashboardPage.VerifyDashboardpage();
 }
 public void ThenIShouldBeBackToDashboardPageWhenIClickOnHomeBreadcrumb()
 {
     ClickHomeLink();
     TlevelDashboardPage.VerifyDashboardpage();
 }
Esempio n. 20
0
 public void ThenIWillBeShownTheTlevelDashboardPage()
 {
     TlevelDashboardPage.VerifyDashboardpage();
 }
 public void ThenClickingOnBackToHomeTakesToDashboardPage()
 {
     PressBackToHomeBtn();
     TlevelDashboardPage.VerifyTLevelHeader();
 }
 public void ThenIAmTakenToTheHomePage()
 {
     TlevelDashboardPage.VerifyDashboardpage();
 }
 public void ThenTheHomeBreadcrumbWillNavigateToTheDasboardPage()
 {
     ContactUsPage.ClickHomeBreadcrumb();
     TlevelDashboardPage.VerifyDashboardpage();
 }