Exemple #1
0
 public void GivenIAmOnRegistrationsUploadPage()
 {
     SqlQueries.DeleteFromRegistrationTables();
     RegistrationsPage.ClickRegLink();
     ClickElement(RegistrationsPage.UploadRegistationLink);
 }
 public static void CleanUp()
 {
     SqlQueries.DeleteFromRegistrationTables();
     WebDriver.Dispose();
 }
 public void ThenIShouldSeeAllStageValidationErrorsRelatedToAssessments(int p0)
 {
     CsvFileReader.CsvDataFileCompare(AssessmentUploadStage2Errors);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #4
0
 public void ThenIShouldSeeAllErrorsInTheFileForAttemptingToAddAFirstAssessmentSeries()
 {
     CsvFileReader.CsvDataFileCompare(AssessmentUploadAddFirstAssessEntry);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #5
0
 public void ThenIShouldSeeLearnerNewCourseSpecialismPage()
 {
     VerifyReregisterSelectSpecialismPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
 public void GivenIEnterTheUnregistered(string ULN)
 {
     SqlQueries.DeleteFromRegistrationTables();
     AssessmentEntriesSearchForLearnerPage.EnterULN(ULN);
 }
 public void ThenIShouldSeeErrorOnAsLearnerDecidedSpecialismPage()
 {
     VerifyReregisterLearnerDecideErrorPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #8
0
 public void ThenIShouldSeeReactivationSuccessPage()
 {
     VerifyReactivateSuccessPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #9
0
 public void WhenIClickOnSearchForARegistrationLink()
 {
     SqlQueries.DeleteFromRegistrationTables();
     RegistrationsPage.ClickRegLink();
     ClickSearchForRegistrationLink();
 }
 public void ThenIShouldSeeSelectSpecialismErrorMessage()
 {
     VerifyChangeSpecialismErrorPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
 public void GivenIHaveCreatedAManulRegistration()
 {
     SqlQueries.DeleteFromRegistrationTables();
     RegistrationsManualPage.CreateManualRegistrationWithSpecialism("9900000001");
 }
 public void ThenIShouldRegisterLearnerOnANewCourseProviderPage()
 {
     VerifyReactivateWithAnotherProviderPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
 public void ThenIShouldSeeErrorsInWithdrawnOptionsPage()
 {
     VerifyWithdrawnOptionsErrorPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #14
0
 public void ThenIShouldSeeAllStageErrorsInTheFile(int p0)
 {
     CsvFileReader.CsvDataFileCompare(AssessmentUploadStage3Errors);
     SqlQueries.DeleteFromRegistrationTables();
 }
 public void ThenIShouldSeeSameProviderInTheDetails()
 {
     VerifyProvider(RegistrationsManualPage.InputPovider);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #16
0
 public void ThenIShouldSeeCanNotChangeProviderAndCorePage()
 {
     RegistrationChangeProviderAndCorePage.VerifyChangeProviderCore();
     _ = IsDisplayed(WithDrawRegistrationBtn);
     SqlQueries.DeleteFromRegistrationTables();
 }
 public void ThenTheSearchFieldOnTheULNNotFoundPageStillShowsTheEntered(string ULN)
 {
     AssessmentEntriesSearchForLearnerPage.VerifyULNSearchFieldValue(ULN);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #18
0
 public void GivenIClickOnUploadRegistrationFileLink()
 {
     SqlQueries.DeleteFromRegistrationTables();
     ClickElement(RegistrationsPage.UploadRegistationLink);
 }
 public void ThenIAmNavigatedToTheULNConnotBeFoundPageWhichShowsAHeaderWithThe(string ULN)
 {
     AssessmentEntriesULNCannotBeFoundPage.VerifyPageText(ULN);
     AssessmentEntriesULNCannotBeFoundPage.VerifyAssessmentEntriesULNNotFoundPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #20
0
 public void ThenIShouldSeeRegistartionDataMatchedWithUploadedData()
 {
     VerifySearchFromBulkUpload();
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #21
0
 public void ThenIShouldSeeValidationErrorForWithdrawnRegistration()
 {
     CsvFileReader.CsvDataFileCompare(AssessmentUploadStage3WithdrawnRegError);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #22
0
 public void GivenIHaveARegistrationInWithdrawnState()
 {
     SqlQueries.DeleteFromRegistrationTables();
     CreateWithdrawnReg();
 }
Exemple #23
0
 public void ThenIShouldSeeAllErrorsInTheFileForAttemptingToAddInvalidMulitpleSpecialismEntries()
 {
     CsvFileReader.CsvDataFileCompare(AssessmentUploadMultipleSpecialismErrors);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #24
0
 public void ThenIShouldSeeAreYouSureYouWantToReactivatePage()
 {
     VerifyAreYouSureReactivatePage();
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #25
0
 public void GivenIClickOnAddANewRegistrationLink()
 {
     SqlQueries.DeleteFromRegistrationTables();
     AddNewRegistrations();
 }
Exemple #26
0
 public void ThenIShouldSeeUploadSuccessPage()
 {
     VerifyAssessmentUploadSuccessPage();
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #27
0
 public void ThenIShouldSeeSelectedSpecialismInTheRegistrationDetailsPage()
 {
     VerifySearchResultPage();
     VerifySpecialism("Legal (50000001)");
     SqlQueries.DeleteFromRegistrationTables();
 }
 public void ThenIShouldSeeNoDataError()
 {
     CsvFileReader.CsvDataFileCompare(AssessmentUploadStage2NoDataErrors);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #29
0
 public void ThenIShouldSeeAnErrorWith(string Uln)
 {
     VerifyUlnNotFoundPage(Uln);
     SqlQueries.DeleteFromRegistrationTables();
 }
Exemple #30
0
 public void ThenButtonNameShouldBeContinue()
 {
     _ = IsPresent(ContinueBtn);
     SqlQueries.DeleteFromRegistrationTables();
 }