コード例 #1
0
 public void VerifySendFolder()
 {
     HomeMailPage homeMailPage = new HomeMailPage(driver);
     homeMailPage.OpenSentFolder();
     Assert.True(isElementPresent(By.XPath(MailPage.DraftXPAth)), "Draft was not found in Sent folder!");
     homeMailPage.Logoff();
 }
コード例 #2
0
 public void VerifyDfafts()
 {
     HomeMailPage homeMailPage = new HomeMailPage(driver);
     MailPage mailPage = homeMailPage.OpenCreateMailPage();
     mailPage.CreateMail(ADRESS, SUBJECT, BODY);
     homeMailPage.SaveDraft();
     homeMailPage.OpenDraftsFolder();
     Assert.True(isElementPresent(By.XPath(MailPage.DraftXPAth)), "Draft was not found in Drafts folder!");
 }
コード例 #3
0
 public void VerifyDraftDisappeared()
 {
     HomeMailPage homeMailPage = new HomeMailPage(driver);
     homeMailPage.SentDraft();
     homeMailPage.OpenDraftsFolder();
     Assert.True(isElementPresent(By.XPath(MailPage.NoDraftXPAth)), "Drafts folder is not emplty!");
 }