Example #1
0
 //implemented methods
 public override void InputFormFields()
 {
     if (Data.TestWindowName != null)
     {
         TestWindowName.Wait(5).SendKeys(Data.TestWindowName);
     }
     if (Data.Subject != null)
     {
         SubjectSelect.Wait(3).SelectByText(Data.Subject);
     }
     if (Data.GradeLow != null)
     {
         GradeFromSelect.Wait(5);
         GradeFromSelect.Wait(5).SelectByText(Data.GradeLow);
     }
     if (Data.GradeHigh != null)
     {
         GradeToSelect.Wait(5);
         GradeToSelect.Wait(5).SelectByText(Data.GradeHigh);
     }
     if (Data.DateFrom != null)
     {
         DateFrom.Wait(5).SendKeys(Data.DateFrom);
     }
     if (Data.DateTo != null)
     {
         DateTo.Wait(5).SendKeys(Data.DateTo);
     }
 }