public void WhenICancelTheRegistrationAfterNavigatingToTheRegistrationDetailsFromTheChangeNamePage()
 {
     RegistrationChangeNamePage.ClickBackLink();
     RegistrationsSearchPage.ClickChangeStatusLink();
     RegistrationsActiveOptionPage.ClickDeleteRegistrationRadioButton();
     RegistrationsActiveOptionPage.ClickContinueButton();
     RegistrationsActiveOptionPage.YesToCancelReg();
 }
        public void GivenINavigateToTheDeleteRegistrationPage()
        {
            var uln = scenarionContext["uln"] as string;

            RegistrationsPage.ClickRegLink();
            RegistrationsManualPage.ClickSearchForRegistrationLink();
            RegistrationsSearchPage.SearchForULN(uln);
            RegistrationsSearchPage.VerifySearchResultPage();
            RegistrationsSearchPage.ClickChangeStatusLink();
            RegistrationsActiveOptionPage.ClickDeleteRegistrationRadioButton();
            RegistrationsActiveOptionPage.ClickContinueButton();
        }
        public void GivenIAttemptToDeleteTheRegistrationWhichHasIPDataAgainstIt()
        {
            var uln = scenarionContext["uln"] as string;

            RegistrationsPage.ClickRegLink();
            RegistrationsManualPage.ClickSearchForRegistrationLink();
            RegistrationsSearchPage.SearchForULN(uln);
            RegistrationsSearchPage.VerifySearchResultPage();
            RegistrationsSearchPage.ClickChangeStatusLink();
            RegistrationsActiveOptionPage.ClickDeleteRegistrationRadioButton();
            RegistrationsActiveOptionPage.ClickContinueButton();
        }