public void Calculate(decimal firstNumber, decimal secondNumber, string selectedOperator) { FirstValue.SendKeys(firstNumber.ToString()); SecondValue.SendKeys(secondNumber.ToString()); Operator.SendKeys(selectedOperator.ToString()); GoButton.Click(); }
public void SendSecondValue(string value2) { SecondValue.SendKeys(value2); verificationValue2 = Int32.Parse(value2); }