public void GivenIWithdrawTheRegistrationAndReactivateIt() { var uln = scenarionContext["uln"] as string; WebDriver.FindElement(ResultsDashboardPage.BackToResultsBtn).Click(); ResultsLearnersResultsPage.ClickHomeBreadcrumb(); RegistrationsPage.ClickRegLink(); RegistrationsManualPage.ClickSearchForRegistrationLink(); RegistrationsSearchPage.SearchForULN(uln); RegistrationsSearchPage.VerifySearchResultPage(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsActiveOptionPage.ClickWithdrawRadioButton(); RegistrationsActiveOptionPage.ClickContinueButton(); RegistrationsWithdrawRegistrations.WithdrawApplication(); RegistrationsWithdrawRegistrationsSuccess.ClickViewWithdrawnRegistrationButton(); RegistrationsSearchPage.ClickChangeStatusLink(); RegistrationsWithdrawOptionsPage.ClickReactiveRegistrationRadioButton(); RegistrationsWithdrawOptionsPage.ClickContinueButton(); RegistrationReactivateAreYouSurePage.ClickYesRadioButton(); RegistrationReactivateAreYouSurePage.ClickSubmitButton(); RegistrationReactivate.ClickViewThisRegistrationButton(); RegistrationsSearchPage.PressHomeBreadcrumb(); ResultsDashboardPage.ClickResultsLink(); ResultsDashboardPage.searchResult(uln); }
public void WhenIReactivateMyRegistrationAndAttemptToNavigateBackToTheCoreDenialPageUsingTheURL() { RegistrationReactivateCoreDenialPage.ClickReactiveRegButton(); RegistrationReactivateAreYouSurePage.ClickYesRadioButton(); RegistrationReactivateAreYouSurePage.ClickSubmitButton(); RegistrationReactivateCoreDenialPage.NavigateToBookmarkedPage(scenarionContext["CoreDenialURL"].ToString()); }