コード例 #1
0
 //implemented methods
 public override void InputFormFields()
 {
     if (Data.TestId != null)
     {
         //TestId.MouseOverAndClick(TestId);
         TestId.Clear();
         TestId.SendKeys(Data.TestId);
     }
     if (Data.Subject != null)
     {
         SubjectSelect.Wait().SelectByText(Data.Subject);
     }
     if (Data.RecentlyViewedTests != null)
     {
         RecentlyViewedTests.SelectByText(Data.RecentlyViewedTests);
     }
     if (Data.GradeLevelFrom != null)
     {
         GradeFromSelect.Wait().SelectByText(Data.GradeLevelFrom);
     }
     if (Data.GradeLevelTo != null)
     {
         GradeToSelect.Wait().SelectByText(Data.GradeLevelTo);
     }
 }