Beispiel #1
0
 public override void InputFormFields()
 {
     if (Data.ItemType != null)
     {
         ItemTypeSelect.Wait(5).SelectByText(Data.ItemType);
     }
     if (Data.BloomsTaxonomy != null)
     {
         BloomsTaxonomySelect.SelectByText(Data.BloomsTaxonomy);
     }
     if (Data.PValueLow != null)
     {
         PValueLowText.SendKeys("" + Data.PValueLow);
     }
     if (Data.PValueHigh != null)
     {
         PValueHighText.SendKeys("" + Data.PValueHigh);
     }
     if (Data.ItemMeanLow != null)
     {
         ItemMeanLowText.SendKeys("" + Data.ItemMeanLow);
     }
     if (Data.ItemMeanHigh != null)
     {
         ItemMeanHighText.SendKeys("" + Data.ItemMeanHigh);
     }
     if (Data.ItemTotalScoreLow != null)
     {
         ItemTotalScoreLowText.SendKeys("" + Data.ItemTotalScoreLow);
     }
     if (Data.ItemTotalScoreHigh != null)
     {
         ItemTotalScoreHighText.SendKeys("" + Data.ItemTotalScoreHigh);
     }
     if (Data.RaschItemDifficultyLow != null)
     {
         RaschItemDifficultyLowText.SendKeys("" + Data.RaschItemDifficultyLow);
     }
     if (Data.RaschItemDifficultyHigh != null)
     {
         RaschItemDifficultyHighText.SendKeys("" + Data.RaschItemDifficultyHigh);
     }
     if (Data.ResponseTimeLow != null)
     {
         ResponseTimeLowText.SendKeys("" + Data.ResponseTimeLow);
     }
     if (Data.ResponseTimeHigh != null)
     {
         ResponseTimeHighText.SendKeys("" + Data.ResponseTimeHigh);
     }
     if (Data.PassageType != null)
     {
         PassageTypeSelect.SelectByText(Data.PassageType);
     }
     if (Data.QuestionLanguage != null)
     {
         QuestionLanguageSelect.SelectByText(Data.QuestionLanguage);
     }
     if (Data.Written != null)
     {
         if (Data.Written.Equals("1"))
         {
             Written_chkbox.Check();
         }
     }
     if (Data.Spoken != null)
     {
         if (Data.Spoken.Equals("1"))
         {
             VerifySpokenCheckboxExist();
             Spoken_chkbox.Check();
         }
     }
     else
     {
         VerifySpokenCheckboxExist();
     }
 }
Beispiel #2
0
 /// <summary>
 /// select question language
 /// </summary>
 public void SelectQuestionLanguage()
 {
     QuestionLanguageSelect.Wait(5).SelectByText(Data.QuestionLanguage);
 }