Example #1
0
 /// <summary>
 /// select item type
 /// </summary>
 public void InputFormFields_ItemType()
 {
     if (Data.ItemType != null)
     {
         ItemTypeSelect.Wait(5).SelectByText(Data.ItemType);
     }
 }
Example #2
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();
     }
 }
Example #3
0
 /// <summary>
 /// select item type
 /// </summary>
 /// <param name="itemType">the item type</param>
 public void SelectItemType(string itemType)
 {
     ItemTypeSelect.Wait(5).SelectByText(itemType);
 }
Example #4
0
 /// <summary>
 /// select item type
 /// </summary>
 public void SelectItemType()
 {
     ItemTypeSelect.Wait(5).SelectByText(Data.ItemType);
 }