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();
        }
Beispiel #3
0
 public void WhenIClickOnViewYourKiwisaverRetirementProjections()
 {
     kiwiSaverCalculator.Click_ViewProjection();
 }