Esempio n. 1
0
 public void MyTestMethod5NUnit()
 {
     LoggerHandler.WriteToLog("Start MyTestMethod12NUnit");
     LoginPageStep.SignIn(user3.Email, user3.Password);
     InBoxPageStep.AddEmoticons(user1.Email, "Emoticons");
     Assert.IsTrue(InBoxPageStep.EmoticonsIsPresent());
     InBoxPageStep.ChooseEmotionsIcons(Int32.Parse(Resource1.CountOfEmoticons));
     InBoxPageStep.GoToInBoxPage();
     InBoxPageStep.SignOutAccount();
     LoginPageStep.SignIn(user1.Email, user1.Password);
     InBoxPageStep.ClickOnLinkInMail(user3.Email);
     Assert.IsTrue(InBoxPageStep.EmoticonsIsPresentInMail());
     LoggerHandler.WriteToLog("Finish MyTestMethod5NUnit");
 }
Esempio n. 2
0
 public void MyTestMethod11NUnit()
 {
     LoggerHandler.WriteToLog("Start MyTestMethod11NUnit");
     LoginPageStep.SignIn(user2.Email, user2.Password);
     //2
     InBoxPageStep.SendMassage(user1.Email, "Test6", "Hello");
     //3
     InBoxPageStep.SignOutAccount();
     LoginPageStep.SignIn(user1.Email, user1.Password);
     //4
     InBoxPageStep.MoveMailIntoSpam(user2.Email);
     InBoxPageStep.GoToSpam();
     InBoxPageStep.MoveMailFromSpam(user2.Email);
     InBoxPageStep.GoToInBoxPage();
     Assert.IsTrue(InBoxPageStep.CheckLetter(user2.Email, "Test6"));
     LoggerHandler.WriteToLog("Finish MyTestMethod11NUnit");
 }