Example #1
0
 /// <summary>
 /// input show more form fields
 /// </summary>
 public void InputFormFieldsShowMore()
 {
     if (string.IsNullOrEmpty(Data.DataCollectionStatus) == false)
     {
         DataCollectionStatus.SelectByText(Data.DataCollectionStatus);
     }
     if (string.IsNullOrEmpty(Data.TestContent) == false)
     {
         TestContent.SendKeys(Data.TestContent);
     }
     if (string.IsNullOrEmpty(Data.TestCreatorFirstname) == false)
     {
         TestCreatorFirstname.SendKeys(Data.TestCreatorFirstname);
     }
     if (string.IsNullOrEmpty(Data.TestCreatorLastname) == false)
     {
         TestCreatorLastname.SendKeys(Data.TestCreatorLastname);
     }
     if (string.IsNullOrEmpty(Data.StandardSet) == false)
     {
         StandardSet.SelectByText(Data.StandardSet);
     }
     if (string.IsNullOrEmpty(Data.Institution) == false)
     {
         Institution.SendKeys(Data.Institution);
     }
     if (string.IsNullOrEmpty(Data.TestCategory) == false)
     {
         TestCategory.SelectByText(Data.TestCategory);
     }
     if (string.IsNullOrEmpty(Data.AdaptiveTests) == false)
     {
         AdaptiveTests.SelectByText(Data.AdaptiveTests);
     }
     if (string.IsNullOrEmpty(Data.Publisher) == false)
     {
         Publisher.SendKeys(Data.Publisher);
     }
     if (string.IsNullOrEmpty(Data.ExternalTestId) == false)
     {
         ExternalTestId.SendKeys(Data.ExternalTestId);
     }
 }