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));
     }
 }
Beispiel #2
0
 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));
     }
 }
Beispiel #3
0
 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));
     }
 }
Beispiel #5
0
 public EstimatedFundingPage(IEmfWebDriver driver) : base(driver)
 {
     heading = "Your estimated apprenticeship funding";
 }
Beispiel #6
0
 public Base(IEmfWebDriver emfdriver)
 {
     Driver = emfdriver;
     PageFactory.InitElements(Driver.webDriver, this);
     Driver.WaitUntilDocIsReady();
 }