public void UploadDownloadFile()
 {
     passportPage.UploadFile(@"C:\temp\", @"2017-12-05_Zircon_15248.log");
     passportPage.SaveDraftButton.Click();
     passportPage.DraftsButton.Click();
     passportPage.FindMailBySubject("Upload").Click();
     passportPage.DownloadFileByNameLink().Click();
     Assert.IsTrue(File.Exists(@"C:\Users\User\Downloads\2017-12-05_Zircon_15248.log"));
 }
Пример #2
0
 public void UploadDownloadFile()
 {
     passportPage.UploadFile(@"C:\temp\", @"test.txt");
     passportPage.SaveDraftButton.Click();
     passportPage.DraftsButton.Click();
     passportPage.FindMailBySubject("Upload").Click();
     passportPage.DownloadFileByNameLink().Click();
     Assert.IsTrue(File.Exists(@"C:\Users\User\Downloads\test.txt"));
 }