public PlacementInformationPage GivenIPressTheReportProvisionGapLink() { SelectProvidersPage selectProvidersPage = new SelectProvidersPage(webDriver); PlacementInformationPage placementInformationPage = selectProvidersPage.SelectNoSuitableProviers(); return(placementInformationPage); }
public void ThenThePlacementInformationPageWillShowAnErrorStatingFor(string errorMessage, string inputType) { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); switch (inputType) { case "NoProvidersChosen": placementInformationPage.VerifyErrorForNoProvidersChosen(errorMessage); break; case "StudentsOptionNotSelected": placementInformationPage.VerifyError_PlacementRadioButtonNotSelected(errorMessage); break; } }
public void ThenNumberOfStudentsFieldIs(string result) { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); switch (result) { case "Displayed": placementInformationPage.VerifyNumberOfPLacementsIsVisibile(); break; case "Not Displayed": placementInformationPage.VerifyNumberOfPLacementsIsNotVisibile(); break; } }
public void WhenISelectForHowManyStudentsNeeded(string p0) { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); switch (p0) { case "Yes": placementInformationPage.SelectRadioButtonToVerifyNumberOfStudentsFieldDisplay(p0); break; case "No": placementInformationPage.SelectRadioButtonToVerifyNumberOfStudentsFieldDisplay(p0); break; } }
public void ThenTheYouMustEnterAJobRoleUsingOrMoreCharactersForInvalidJobRoleForCharactersIsDisplayed(string errorMessage, string invalidCharacters) { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); switch (invalidCharacters) { case "1": placementInformationPage.VerifyErrorJobRoleTooShort(errorMessage); break; case "100": placementInformationPage.VerifyErrorJobRoleTooLong(errorMessage); break; } }
public void ThenTheTheNumberOfStudentsMustBeOrMoreForInvalidNumberOfStudentsIsDisplayedFor(string errorMessage, string invalidNumbers) { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); switch (invalidNumbers) { case "0": placementInformationPage.VerifyErrorPlacementNumberTooSmall(errorMessage); break; case "1000": placementInformationPage.VerifyErrorPlacementNumberTooBig(errorMessage); break; case " ": placementInformationPage.VerifyErrorPlacementNumberIsNull(errorMessage); break; } }
public void WhenIEnterInvalidNumberOfStudentsAndContinue(string p0) { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); placementInformationPage.EnterInvalidNumberOfStudentsAndContinue(p0); }
public void WhenIEnterAnInvalidJobTitleAndContinue(string p0) { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); placementInformationPage.EnterInvalidJobRoleAndContinue(p0); }
public void WhenIEnterNoPlacementInformationAndContinue() { PlacementInformationPage placementInformationPage = new PlacementInformationPage(webDriver); placementInformationPage.EnterNoPlacementInformationAndContinue(); }