public string VerifySendAsPermissions(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["SendAsPermissionsUsers"]); //Act string standing = pageMailboxDashboard.VerifySendAsPermissions(userList); //Verify if (standing != TestStatus.Success) { status = TestStatus.Failed; } ReporterClass.Reporter("Exchange", "Host", "Verify Addition of Send As Permissions", "Test to check if Send As Permissions have been assigned correctly or not", organizationName, "Mailbox", email, "", status, standing); return(status); }