Esempio n. 1
0
 /// <summary>
 /// Submits a supplied ResultType as a new Result Type
 /// </summary>
 /// <param name="result">Single ResultType</param>
 public void SubmitNewResultType(ResultType result)
 {
     ScrollToBottom();
     NewName.Type(result.Name);
     NewUoM.Type(result.UoM);
     SetCheckBox(NewDefault, result.IsDefault);
     NewReportingPeriod.SelectListOptionByText(result.ReportingPeriod.ToString());
     System.Threading.Thread.Sleep(1000);  //give it a couple seconds to catch up
     NewCreateButton.Click();
     System.Threading.Thread.Sleep(1000);  //give it a couple seconds to catch up
 }