Beispiel #1
0
 public void Setup()
 {
     Initialize();
     Instance.Navigate().GoToUrl(BaseAddress);
     YourSupplierPage = new YourSupplierPage(Instance);
     YourEnergyPage   = new YourEnergyPage(Instance);
     YourDetailsPage  = new YourDetailsPage(Instance);
     YourResultsPage  = new YourResultsPage(Instance);
 }
 public void WhenIClickNext()
 {
     YourSupplierPage.ClickNextButton();
 }
 public void ThenPostCodeErrorIsDisplayed()
 {
     Assert.That(YourSupplierPage.IsPostCodeErrorDisplayed(), Is.True);
 }
 public void GivenIHaveSelectedWhatToCompare(string itemToCompare)
 {
     YourSupplierPage.SelectItemToCompare(itemToCompare);
 }
 public void GivenIHaveEnteredTheBillHandy(bool isBillHandy)
 {
     YourSupplierPage.SelectBillHandy(isBillHandy);
 }
 public void GivenIHaveEnteredAPostCode(string postCode)
 {
     YourSupplierPage.EnterPostCode(postCode);
     YourSupplierPage.ClickFindPostCode();
 }