예제 #1
0
 public void SendEmailAndInitialPasswordSuccess(UserSettingsData input)
 {
     //Click "+用户"
     UserSettings.ClickAddUser();
     TimeManager.ShortPause();
     UserSettings.FillInAddUser(input.InputData);
     TimeManager.MediumPause();
     UserSettings.ClickSaveButton();
     JazzMessageBox.LoadingMask.WaitLoading();
     TimeManager.ShortPause();
     Assert.IsTrue(UserSettings.IsEmailSendButtonDispalyed());
     Assert.IsTrue(UserSettings.IsEmailSendButtonEnabled());
     UserSettings.ClickEmailSendButton();
     JazzMessageBox.LoadingMask.WaitLoading();
     TimeManager.MediumPause();
     Assert.IsTrue(JazzMessageBox.MessageBox.GetMessage().Contains(input.ExpectedData.Message));
     JazzMessageBox.MessageBox.OK();
     // Login to emailbox and click the link from the received email.  need test manaully
 }