コード例 #1
0
 public void Calculate(decimal firstNumber, decimal secondNumber, string selectedOperator)
 {
     FirstValue.SendKeys(firstNumber.ToString());
     SecondValue.SendKeys(secondNumber.ToString());
     Operator.SendKeys(selectedOperator.ToString());
     GoButton.Click();
 }
コード例 #2
0
 public void SendSecondValue(string value2)
 {
     SecondValue.SendKeys(value2);
     verificationValue2 = Int32.Parse(value2);
 }