コード例 #1
0
        public void ProjectionResultsForAnEmployedPersonAreDisplayed()
        {
            Navigation.NavigateToKiwiSaverRetirementCalculator(_browser);

            KiwiSaverRetirementCalculator kiwiSaverRetirementCalculatorObject = new KiwiSaverRetirementCalculator(_browser);

            kiwiSaverRetirementCalculatorObject.InputCurrentAge("30");
            kiwiSaverRetirementCalculatorObject.SelectEmploymentStatus("Employed");
            kiwiSaverRetirementCalculatorObject.InputSalaryPerYear("82000");
            kiwiSaverRetirementCalculatorObject.SelectKiwiSaverContribution("4%");
            kiwiSaverRetirementCalculatorObject.SelectPIR("17.5%");
            kiwiSaverRetirementCalculatorObject.SelectRiskProfile("High");
            kiwiSaverRetirementCalculatorObject.ClickViewProjectionsButton();

            kiwiSaverRetirementCalculatorObject.Validations().ProjectionResultIsVisible();
        }
コード例 #2
0
        public void ProjectionResultsForSelfAndNonEmployedPersonsAreDisplayed(string age, string employmentStatus, string PIR, string currentBalance, string voluntaryContribution, string contributionFrequency, string riskProfile, string goalRequirement)
        {
            Navigation.NavigateToKiwiSaverRetirementCalculator(_browser);

            KiwiSaverRetirementCalculator kiwiSaverRetirementCalculatorObject = new KiwiSaverRetirementCalculator(_browser);

            kiwiSaverRetirementCalculatorObject.InputCurrentAge(age);
            kiwiSaverRetirementCalculatorObject.SelectEmploymentStatus(employmentStatus);
            kiwiSaverRetirementCalculatorObject.SelectPIR(PIR);
            kiwiSaverRetirementCalculatorObject.InputCurrentBalance(currentBalance);
            kiwiSaverRetirementCalculatorObject.InputVoluntaryContribution(voluntaryContribution);
            kiwiSaverRetirementCalculatorObject.SelectContributionFrequency(contributionFrequency);
            kiwiSaverRetirementCalculatorObject.SelectRiskProfile(riskProfile);
            kiwiSaverRetirementCalculatorObject.InputGoalRequirement(goalRequirement);
            kiwiSaverRetirementCalculatorObject.ClickViewProjectionsButton();

            kiwiSaverRetirementCalculatorObject.Validations().ProjectionResultIsVisible();
        }