public void ThenTheFieldShouldNotBeFound(string fieldToVerify) { DataTable QueryRes = (DataTable)ScenarioContext.Current["QueryResults"]; if (!DataTableUtilities.FieldNotFound(QueryRes, fieldToVerify)) { ScenarioContext.Current["Comments"] = ScenarioContext.Current["Comments"] + "Query result is not displayed as per the table from database. \n"; ScenarioContext.Current["ActResult"] = "Failed"; } }