Пример #1
0
        public string AddArchive(TestContext testContext)
        {
            string organizationName = Convert.ToString(testContext.DataRow["OrganizationName"]);
            string email            = Convert.ToString(testContext.DataRow["Email"]);

            pageMailboxDashboard.OpenArchive();

            string standing = pageMailboxDashboard.SetArchive();


            string status = VerifyResult(ExchangeMessages.AddArchive, standing);

            ReporterClass.Reporter("Exchange", "Host", "Add Archive", "Test to check if archiving is being enabled or not", organizationName, "Mailbox", email, "", status, standing);
            if (status == TestStatus.Failed)
            {
                pageMailboxDashboard.CloseDialogueBox();
            }
            return(status);
        }