public void VerifyCurrentAgeHelpText() { var kiwiSaverCalculator = new KiwisaverCalculatorPage(Driver); kiwiSaverCalculator.ClickCurrentAgeInfo(); kiwiSaverCalculator.IsValidCurrentAgeHelpTextDisplayed(); }
public void KiwiSaverTest(User userDetails) { var kiwisaverCalculator = new KiwisaverCalculatorPage(Driver); kiwisaverCalculator.Fill_KiwisaverRetirementCalculator(userDetails); kiwisaverCalculator.Click_ViewProjection(); kiwisaverCalculator.IsValidProjection(userDetails.Projection); }
[Repeat(2)] //Every time it will generate new data... public void RandomDataTest() { //Creating random data User randomIndividualData = new User(); var kiwisaverCalculator = new KiwisaverCalculatorPage(Driver); randomIndividualData.CreateRandomIndividual(); kiwisaverCalculator.Fill_KiwisaverRetirementCalculator(randomIndividualData); kiwisaverCalculator.Click_ViewProjection(); }
public void GivenIAmOnRetirementCalculatorPage() { driver = (IWebDriver)_scenarioContext["Driver"]; kiwiSaverCalculator = new KiwisaverCalculatorPage(driver); }