public string VerifyRetentionPolicy(TestContext testContext) { string status = TestStatus.Success; //Stage string organizationName = Convert.ToString(testContext.DataRow["OrganizationName"]); string email = Convert.ToString(testContext.DataRow["Email"]); string RetentionPolicyDays = Convert.ToString(testContext.DataRow["RetentionPolicyDays"]); //Act string standing = pageMailboxDashboard.VerifyRetentionPolicy(RetentionPolicyDays); //Verify if (standing != TestStatus.Success) { status = TestStatus.Failed; } ReporterClass.Reporter("Exchange", "Host", "Verify Update Mailbox Retention Policy", "Test to check if the Retention Policy has been set properly or not", organizationName, "Mailbox", email, "", status, standing); return(status); }