public void WhenISearchForMyRegistration() { RegistrationsSearchPage.NavigateTo("registrations"); RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.ValidateChangeStatusLink(); }
public void WhenIClickWithdrawRegistrationOnTheChangeCorePage() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeCoreLink(); RegistrationChangeCorePage.ClickWithdrawButton(); }
public void WhenIClickWithdrawRegistrationOnTheActiveOptionsPage() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsActiveOptionPage.ClickWithdrawRadioButton(); RegistrationsActiveOptionPage.ClickContinueButton(); }
public void WhenIWithdrawMyRegistrationStartingOnTheActiveOptionsPage() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsActiveOptionPage.ClickWithdrawRadioButton(); RegistrationsActiveOptionPage.ClickContinueButton(); RegistrationsWithdrawRegistrations.VerifyWithdrawRegistrationPage(); RegistrationsWithdrawRegistrations.VerifyRadioButtonsNotSelected(); RegistrationsWithdrawRegistrations.WithdrawApplication(); }
public void WhenIClickWithdrawRegistrationOnTheChangeProviderAndCorePage() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeProviderLink(); RegistrationChangeProviderPage.SelectProviderFromList(Constants.ManualRegUpdatedProvider1); RegistrationChangeProviderPage.ClickChangeButton(); RegistrationChangeCorePage.ClickYesRadioButton_AreYouSureChangeCorePage(); RegistrationChangeCorePage.ClickContinueButton_AreYouSureChangeCorePage(); RegistrationChangeProviderAndCorePage.ClickWithdrawButton(); }
public void WhenIClickWithdrawRegistrationButtonOnTheChangeProviderAndCorePage() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeProviderLink(); RegistrationChangeProviderPage.SelectProviderFromList("Automation Test1 (99999901)"); RegistrationChangeProviderPage.ClickChangeButton(); RegistrationChangeCorePage.ClickYesRadioButton_AreYouSureChangeCorePage(); RegistrationChangeCorePage.ClickContinueButton_AreYouSureChangeCorePage(); RegistrationChangeProviderAndCorePage.ClickWithdrawButton(); }
public void WhenIWithdrawMyApplicationAndNavigateToTheWithdrawnRegistrationDetailsPage() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsActiveOptionPage.ClickWithdrawRadioButton(); RegistrationsActiveOptionPage.ClickContinueButton(); RegistrationsWithdrawRegistrations.VerifyWithdrawRegistrationPage(); RegistrationsWithdrawRegistrations.VerifyRadioButtonsNotSelected(); RegistrationsWithdrawRegistrations.WithdrawApplication(); RegistrationsWithdrawRegistrationsSuccess.VerifyWithdrawRegSuccessPage_EntryActiveOptionsPage(); RegistrationsWithdrawRegistrationsSuccess.ClickViewWithdrawnRegistrationButton(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ValidateUlnStatus("WITHDRAWN"); RegistrationsSearchPage.VerifyRegistrationDetailsPageSubHeading(); }
public void WhenIWithdrawTheRegistrationAndThenReactivateThisRegistrationWithTheSameCourse() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsActiveOptionPage.ClickWithdrawRadioButton(); RegistrationsActiveOptionPage.ClickContinueButton(); RegistrationsWithdrawRegistrations.VerifyWithdrawRegistrationPage(); RegistrationsWithdrawRegistrations.VerifyRadioButtonsNotSelected(); RegistrationsWithdrawRegistrations.WithdrawApplication(); RegistrationsWithdrawRegistrationsSuccess.VerifyWithdrawRegSuccessPage_EntryActiveOptionsPage(); RegistrationsWithdrawRegistrationsSuccess.ClickViewWithdrawnRegistrationButton(); //RegistrationsSearchPage.ValidateUlnStatusWithdrawn(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsWithdrawOptionsPage.ClickReactiveRegistrationRadioButton(); RegistrationsWithdrawOptionsPage.ClickContinueButton(); }
public void WhenIWithdrawMyApplicationAndNavigateToTheResultsSearchForALearnerPage() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsActiveOptionPage.ClickWithdrawRadioButton(); RegistrationsActiveOptionPage.ClickContinueButton(); RegistrationsWithdrawRegistrations.VerifyWithdrawRegistrationPage(); RegistrationsWithdrawRegistrations.VerifyRadioButtonsNotSelected(); RegistrationsWithdrawRegistrations.WithdrawApplication(); RegistrationsWithdrawRegistrationsSuccess.VerifyWithdrawRegSuccessPage_EntryActiveOptionsPage(); RegistrationsWithdrawRegistrationsSuccess.ClickViewWithdrawnRegistrationButton(); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ValidateUlnStatus("WITHDRAWN"); RegistrationsSearchPage.PressHomeBreadcrumb(); ClickLinkByLabel("Results"); ClickLinkByLabel("Search for a learner"); }
public void GivenISearchForMyRegistration() { RegistrationsPage.ClickElement(RegistrationsSearchPage.SearchRegistrationLink); RegistrationsSearchPage.SearchForULN(); }