Esempio n. 1
0
        public void ConvertKilowattHoursToNewtonMeters(double kWh, Format format = Format.Decimal)
        {
            CelsiusInput.SendKeys(kWh.ToString());
            if (format != Format.Decimal)
            {
                var formatText = Enum.GetName(typeof(Format), format);
                new SelectElement(FormatField).SelectByText(formatText);
            }

            DriverWait.Until(drv => Answer != null);
        }
Esempio n. 2
0
 public void ConvertKilowattHoursToNewtonMeters(double kWh)
 {
     CelsiusInput.SendKeys(kWh.ToString());
     DriverWait.Until(drv => Answer != null);
 }