public void Forward() { steps.LoginGmail(USER2, PASS); steps.GoToSettings(); steps.GoToPOPIMAP(); steps.SetForward(USER3); steps.LogOut(); steps.CleanCookie(); steps.LoginGmail(USER3, PASS); steps.ConfirmForward(); steps.LogOut(); steps.CleanCookie(); steps.LoginGmail(USER2, PASS); steps.GoToSettings(); steps.GoToPOPIMAP(); steps.ChooseRadioButtonForwardTo(); steps.CreateForwardFilter(USER2); steps.LogOut(); steps.CleanCookie(); steps.LoginGmail(USER1, PASS); steps.SendMessage(USER2, "lasqwdfgl", "asdksdfgjasdkk", @"C:\RHDSetup.log"); steps.SendMessage(USER2, "lajkgl", "asdkjgsdfgasdkk"); steps.LogOut(); steps.CleanCookie(); steps.LoginGmail(USER2, PASS); steps.GoToImportant(); steps.OpenLastUnreadLetter(); StringAssert.Contains("asdkjgsdfgasdkk", steps.GetLetterText()); steps.GoToTrash(); steps.OpenLastUnreadLetter(); StringAssert.Contains("RHDSetup.log", steps.GetAttachName()); StringAssert.Contains("asdksdfgjasdkk", steps.GetLetterText()); steps.LogOut(); steps.CleanCookie(); }