コード例 #1
0
        public void TestMethod3()
        {
            EnterPage.GoToInboxFolder();
            for (int i = 0; i < TestConfiguration.NumberOfMailsToCheck; i++)
            {
                InboxPage.MarkCheckbox(i);
            }
            InboxPage.MarkAsImportant();
            EnterPage.ClickMoreButton();
            EnterPage.GoToImportantFolder();

            Assert.IsTrue(ImportantPage.CheckCount(TestConfiguration.NumberOfMailsToCheck));

            for (int i = 0; i < TestConfiguration.NumberOfMailsToCheck; i++)
            {
                ImportantPage.MarkCheckbox(i);
            }
            ImportantPage.ClickDeleteButton();
            EnterPage.GoToTrashFolder();

            Assert.IsTrue(BinPage.CheckCount(TestConfiguration.NumberOfMailsToCheck));
        }