Exemplo n.º 1
0
        public string UpdateRetentionPolicy(TestContext testContext)
        {
            //Stage
            string organizationName    = Convert.ToString(testContext.DataRow["OrganizationName"]);
            string email               = Convert.ToString(testContext.DataRow["Email"]);
            string retentionPolicyDays = Convert.ToString(testContext.DataRow["RetentionPolicyDays"]);

            //Act
            pageMailboxDashboard.OpenRetentionPolicy();
            string standing = pageMailboxDashboard.SetRetentionPolicy(retentionPolicyDays);



            //Verify
            string status = VerifyResult(ExchangeMessages.UpdateRetentionPolicy, standing);

            ReporterClass.Reporter("Exchange", "Host", "Update Mailbox Retention Policy", "Test to check if Retention Policy is being set properly or not", organizationName, "Mailbox", email, "Retain Deleted Items For: " + retentionPolicyDays, status, standing);
            return(status);
        }