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

            pageMailboxDashboard.OpenAutomaticReply();
            string standing = pageMailboxDashboard.SetAutomaticReply(internalMessage, externalmessage);


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

            ReporterClass.Reporter("Exchange", "Host", "Add Automatic Reply", "Test to check if Automatic Reply is being added successfully", organizationName, "Mailbox", email, "Interanal Message: " + internalMessage + "; External Message: " + externalmessage, status, standing);
            return(status);
        }