/// <summary>
 /// Enter a date in the "Date Posted" field of the "Display Info" pane on the "Main" tab
 /// </summary>
 /// <param name="date">The date to be entered</param>
 public void EnterDatePosted(string date)
 {
     SelectDisplayInfoYesRadioButton();
     DisplayInfoDatePostedField.Clear();
     DisplayInfoDatePostedField.SendKeys(date);
     DisplayInfoDatePostedField.SendKeys(Keys.Return);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Enter a date in the "Date Posted" field of the "Display Info" pane on the "Main" tab
 /// </summary>
 /// <param name="date">The date to be entered</param>
 public void EnterDatePosted(string date)
 {
     try
     {
         BaseWaitForPageToLoad(Driver, 100);
         SelectDisplayInfoYesRadioButton();
         DisplayInfoDatePostedField.Clear();
         DisplayInfoDatePostedField.SendKeys(date);
         DisplayInfoDatePostedField.SendKeys(Keys.Return);
     }
     catch (Exception e) { throw e; }
 }