public void ThenEncryptedMailShouldAppearInTheOutBox(string to, string subject, string content, string listSubject, string encryptedPass) { outboxPage = new OutboxPage(driver); outboxPage.NavigateToMyMessageOutbox(driver); readFromConfig = new ReadFromConfig(); Assert.IsTrue(outboxPage.ValidateMail(driver, readFromConfig.GetValue(to), subject, content, listSubject, readFromConfig.GetValue(encryptedPass))); }
public void ThenMailShouldAppearInMyMessageOutBox(string to, string subject, string content, int attachmentNo, string attachmentType) { driver = driverFactory.GetDriver(); outboxPage = new OutboxPage(driver); outboxPage.NavigateToMyMessageOutbox(driver); Assert.IsTrue(outboxPage.ValidateMail(driver, readFromConfig.GetValue(to), subject, content, attachmentNo: attachmentNo, attachment: attachmentType)); }