public void ThenIDontSeeTableHistoryIconForTable(string tableName) { if (DL_CRF_QuestionBase.IsTableHistoryIconAvailable(tableName)) { ScenarioContext.Current["ActResult"] = "Failed"; } }
public static bool InvokeTableHistory(String tableName) { try { IControl tableHistoryIcon = DL_CRF_QuestionBase.GetTableHistoryIcon(tableName); if (!Control_PropertyUtilities.IsControlNull(tableHistoryIcon)) { return(Control_ActionUtilities.Click(tableHistoryIcon, "Unable to invoke table history icon for table " + tableName.ToUpper())); } } catch (Exception e) { new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e); } return(false); }