Пример #1
0
        public void ThenTheMessageShouldDisplayBelowTheCurrentAgeField()
        {
            Page_KiwisaverCalculator validate = new Page_KiwisaverCalculator();

            validate.ValidateInformationIcon();
            GlobalDefinitions.driver.Close();
        }
        public void ThenTheProjectedBalanceAtRetirementShouldBeDisplayed()
        {
            Page_KiwisaverCalculator validate = new Page_KiwisaverCalculator();

            validate.ValidateProjectedBalance();
            GlobalDefinitions.driver.Close();
        }
            public void KiwiSaverForNotEmployed()
            {
                //test report
                ExtentReport.test = ExtentReport.extent.StartTest("Calculation for Not Employed");

                //Navigate to KiwiSaver Calculator
                Page_Home navigate = new Page_Home();

                navigate.NavigationToCalculator();

                Page_KiwisaverCalculator calculator = new Page_KiwisaverCalculator();

                //KiwiSaver Calculation for Not Employed
                calculator.NotEmployed();
            }
            public void ClickOnInformation()
            {
                //test report
                ExtentReport.test = ExtentReport.extent.StartTest("Check Information");

                //Navigate to KiwiSaver Calculator
                Page_Home navigate = new Page_Home();

                navigate.NavigationToCalculator();

                Page_KiwisaverCalculator information = new Page_KiwisaverCalculator();

                //Checking information icon
                information.ClickInformationIcon();
                information.ValidateInformationIcon();
            }
        public void ThenTheButtonViewYourKiwiSaverRetirementProjectionShouldBeVisible()
        {
            Page_KiwisaverCalculator validate = new Page_KiwisaverCalculator();

            validate.ValidateButtonView();
        }
        public void WhenIAddKiwiSaverDetailsForNotEmployed()
        {
            Page_KiwisaverCalculator notEmployed = new Page_KiwisaverCalculator();

            notEmployed.NotEmployed();
        }
        public void WhenIAddKiwiSaverDetailsForSelf_Employed()
        {
            Page_KiwisaverCalculator selfEmployed = new Page_KiwisaverCalculator();

            selfEmployed.SelfEmployed();
        }
        public void WhenIAddKiwiSaverDetailsForEmployed()
        {
            Page_KiwisaverCalculator employed = new Page_KiwisaverCalculator();

            employed.Employed();
        }
Пример #9
0
        public void WhenIClickOnInformationIconBesidesCurrentAge()
        {
            Page_KiwisaverCalculator informationIcon = new Page_KiwisaverCalculator();

            informationIcon.ClickInformationIcon();
        }