Пример #1
0
 /// <summary>
 /// Enters a valid email address for the host and then sets the schedular mode to Timer Method.
 /// </summary>
 /// <param name="hostEmail">A valid email address for the host.</param>
 public void SetSchedularToTimerMethod(string hostEmail)
 {
     HostEmailTextField.Value = "*****@*****.**";
     //OtherSettingsExpandButton.Click();
     AdvancedSettingsTab.Click();
     SchedularModeSelectList.Select("Timer Method");
     UpdateLink.Click();
 }
Пример #2
0
 /// <summary>
 /// Enters a valid email address for the host and then sets the SMTP server.
 /// All other SMTP settings will be set to the default.
 /// </summary>
 /// <param name="hostEmail">A valid email address for the host.</param>
 /// <param name="smtpServer">The SMTP server to test.</param>
 public void SetSMTPSettings(string hostEmail, string smtpServer)
 {
     HostEmailTextField.Value = hostEmail;
     //ExpandSMTPButton.ClickNoWait();
     AdvancedSettingsTab.Click();
     SMTPSettingsSectionLink.Click();
     SMTPServerField.Value = smtpServer;
     UpdateLink.Click();
     System.Threading.Thread.Sleep(2000);
 }