예제 #1
0
        public string AddSendOnBehalfUsers(TestContext testContext)
        {
            //Stage
            string organizationName = Convert.ToString(testContext.DataRow["OrganizationName"]);
            string email            = Convert.ToString(testContext.DataRow["Email"]);
            string userList         = Convert.ToString(testContext.DataRow["SendOnBehalfUsers"]);

            //Act
            pageMailboxDashboard.OpenSendOnBehalf();
            string standing = pageMailboxDashboard.SetSendOnBehalf(userList);

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

            ReporterClass.Reporter("Exchange", "Host", "Add Send On Behalf Users", "Test to check if Send On Behalf users are added successfully", organizationName, "Mailbox", email, "Email List: " + userList, status, standing);

            return(status);
        }