Exemple #1
0
 public void MyTestMethod3NUnit()
 {
     //var path = Environment.CurrentDirectory;
     //string path2 = $@"{path}\1.rar";
     LoggerHandler.WriteToLog("Start MyTestMethod3NUnit");
     //1
     LoginPageStep.SignIn(user1.Email, user1.Password);
     //2,3,4
     InBoxPageStep.SendMassageWithAttach(user2.Email, "Test5", "File", Resource1.PathToBigFile);
     //InBoxPageStep.SendMassageWithAttach(user2.Email, "Test5", "File", path2);
     //allert
     Assert.IsTrue(InBoxPageStep.AlertIsPresent());
     //clear
     InBoxPageStep.CancelAlert();
     LoggerHandler.WriteToLog("Finish MyTestMethod2NUnit");
 }