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(); }
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!"); }
public void VerifyDraftDisappeared() { HomeMailPage homeMailPage = new HomeMailPage(driver); homeMailPage.SentDraft(); homeMailPage.OpenDraftsFolder(); Assert.True(isElementPresent(By.XPath(MailPage.NoDraftXPAth)), "Drafts folder is not emplty!"); }