public void PositiveTestInvestmentTermIsMandatoryField() { CalculatorPage calculatorPage = new CalculatorPage(browser); calculatorPage.EnterCalculatorData("100", "10", " ", true); Assert.IsFalse(calculatorPage.CalculateBtn.Enabled); }
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); }