public void createBadMessage(IWebDriver driver) { createMesPage = mainPage.clickCompose(); createMesPage.AdressEnter(inputEmail: "jkhg" + OpenQA.Selenium.Keys.Tab + OpenQA.Selenium.Keys.Tab); createMesPage.SubjectEnter(inputSubject: "some subject is here"); createMesPage.MessageEnter(inputText: "Hop hey lalalei"); badEmailPage = createMesPage.clickSendWithBadEmail(); }
public void createDraftMessage(IWebDriver driver) { CreateMessagePage createMessage = mainPage.clickCompose(); createMessage.AdressEnter(inputEmail: "*****@*****.**" + OpenQA.Selenium.Keys.Tab + OpenQA.Selenium.Keys.Tab); createMessage.SubjectEnter(inputSubject: "some subject is here"); createMessage.MessageEnter(inputText: "Hop hey lalalei"); mainPage = createMessage.clickClose(); draftsPage = mainPage.clickDrafts(); }
public void composeMessage(IWebDriver driver) { CreateMessagePage createMessage = mainPage.clickCompose(); createMessage.AdressEnter(inputEmail: "*****@*****.**" + OpenQA.Selenium.Keys.Tab + OpenQA.Selenium.Keys.Tab); createMessage.SubjectEnter(inputSubject: "some subject is here"); createMessage.MessageEnter(inputText: "Hop hey lalalei"); // createMessage.clickSendMessage(); //sentEmailPage = mainPage.clickSent(); mainPage = createMessage.clickSendMessage(); sentEmailPage = mainPage.clickSent(); // sentEmailPage.TickInCheckBox(driver); // messageShowPage = sentEmailPage.MessageShow(); //sentMessages(driver); //sentEmailPage.DeleteBtnClick(driver); }