public string VerifyAutomaticReply(TestContext testContext) { string status = TestStatus.Success; 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"]); string standing = pageMailboxDashboard.VerifyAutomaticReply(internalMessage, externalmessage); if (standing != TestStatus.Success) { status = TestStatus.Failed; } ReporterClass.Reporter("Exchange", "Host", "Verify Addition of Automatic Reply", "Test to check if Automatic Reply been assigned correctly or not", organizationName, "Mailbox", email, "", status, standing); return(status); }