public void DraftFolderAfterSendingTest() { var startForm = new StartPage(); startForm.Login(LogIn, Password); var inboxForm = new InboxPage(); inboxForm.GoToDraftPage(); var draftForm = new DraftPage(); draftForm.DeleteAllDraft(); draftForm.GoToNewEmailPage(); var emailForm = new EmailPage(); emailForm.CreateADraft(EmailAddress, EmailSubject, EmailText); emailForm.GoToDraftPage(); draftForm.OpenEmail(); emailForm.SendEmail(); emailForm.GoToDraftPage(); Assert.IsFalse(draftForm.DraftEmailExist()); }