コード例 #1
0
        public string VerifyAddSendOnBehalfUsers(TestContext testContext)
        {
            string status = TestStatus.Success;
            //Stage
            string organizationName = Convert.ToString(testContext.DataRow["OrganizationName"]);
            string email            = Convert.ToString(testContext.DataRow["Email"]);
            string userList         = Convert.ToString(testContext.DataRow["SendOnBehalfUsers"]);

            //Act
            string standing = pageMailboxDashboard.VerifySendOnBehalf(userList);

            //Verify
            if (standing != TestStatus.Success)
            {
                status = TestStatus.Failed;
            }
            ReporterClass.Reporter("Exchange", "Host", "Verify Addition of new Send On Behalf users", "Test to check if the Send On Users have been assigned correctly or not", organizationName, "Mailbox", email, "", status, standing);

            return(status);
        }