public void GivenIUploadASingleRegistrationAndNavigateToTheSearchForALearnerPage()
 {
     SqlQueries.DeleteFromAssessmentTables();
     SqlQueries.DeleteFromRegistrationTables();
     SqlQueries.DeleteFromRegistrationTables();
     RegistrationsPage.ClickRegLink();
     ClickElement(RegistrationsPage.UploadRegistationLink);
     UploadFile(RegistrationsPage.ChooseFile, "1879RegistrationsDataForAssessments.csv");
     ClickElement(RegistrationsPage.SubmitFileBtn);
     RegistrationsPage.VerifyRegistrationSuccessPage();
     ClickElement(TlevelDashboardPage.DashboardHeadLink);
     ClickElement(AssessmentEntriesLink);
 }
Esempio n. 2
0
 public void GivenIUploadRegistrationsAndAssociatedAssessments()
 {
     SqlQueries.DeleteFromRegistrationTables();
     RegistrationsPage.ClickRegLink();
     ClickElement(RegistrationsPage.UploadRegistationLink);
     UploadFile(RegistrationsPage.ChooseFile, "1879RegistrationsDataForAssessments.csv");
     ClickElement(RegistrationsPage.SubmitFileBtn);
     RegistrationsPage.VerifyRegistrationSuccessPage();
     ClickElement(TlevelDashboardPage.DashboardHeadLink);
     ClickElement(AssessmentEntriesLink);
     ClickElement(UploadAssessmentEntryLink);
     VerifyAssessmentEntriesUploadPage();
     UploadFile(RegistrationsPage.ChooseFile, "1879AssessmentEntrySuccessfulData.csv");
     CommonPage.ClickButtonByLabel("Submit");
     VerifyAssessmentUploadSuccessPage();
     ClickBacktoAssessmentEntriesButton();
 }
Esempio n. 3
0
 public void GivenIUploadFile(string file)
 {
     UploadFile(RegistrationsPage.ChooseFile, file);
     ClickElement(RegistrationsPage.SubmitFileBtn);
     RegistrationsPage.VerifyRegistrationSuccessPage();
 }
Esempio n. 4
0
 public void GivenIAmBackToRegistrationUploadPage()
 {
     RegistrationsPage.VerifyRegistrationSuccessPage();
     ClickElement(RegistrationsPage.BacktoRegistrationLink);
     ClickElement(RegistrationsPage.UploadRegistationLink);
 }