Exemplo n.º 1
0
        public void PositiveTestInvestmentTermIsMandatoryField()
        {
            CalculatorPage calculatorPage = new CalculatorPage(browser);

            calculatorPage.EnterCalculatorData("100", "10", " ", true);

            Assert.IsFalse(calculatorPage.CalculateBtn.Enabled);
        }
Exemplo n.º 2
0
        public void PositiveTestCalculator360days()
        {
            CalculatorPage calculatorPage = new CalculatorPage(browser);

            calculatorPage
            .EnterCalculatorData("100", "10", "360", false);

            calculatorPage
            .Calculate();

            string actualIncome = calculatorPage.ActualIncome;

            Assert.AreEqual("110.00", actualIncome);
        }