public ChooseApprenticeshipPage(IEmfWebDriver driver) : base(driver) { heading = "Choose apprenticeships"; if (AreWeOnRightPage(lstapprenticeship) == false) { throw new IllegalStateException(string.Format("This is not the '{0}' page", heading)); } }
public EmfPage(IEmfWebDriver driver) : base(driver) { heading = "Estimate my apprenticeship funding"; if (AreWeOnRightPage(btnStart) == false) { throw new IllegalStateException(string.Format("This is not the '{0}' page", heading)); } }
public EnglandPercentagePage(IEmfWebDriver driver) : base(driver) { heading = "Employees living in England"; if (AreWeOnRightPage(btnSaveAndContinue) == false) { throw new IllegalStateException(string.Format("This is not the '{0}' page", heading)); } }
public PayrollPage(IEmfWebDriver driver) : base(driver) { heading = "Enter your organisation’s UK payroll"; if (AreWeOnRightPage(btnSaveAndContinue) == false) { throw new IllegalStateException(string.Format("This is not the '{0}' page", heading)); } }
public EstimatedFundingPage(IEmfWebDriver driver) : base(driver) { heading = "Your estimated apprenticeship funding"; }
public Base(IEmfWebDriver emfdriver) { Driver = emfdriver; PageFactory.InitElements(Driver.webDriver, this); Driver.WaitUntilDocIsReady(); }