public static bool ClickCodeListsButton(String var)
 {
     try
     {
         IControl pageObj = CodeListsPage.CodeList(var);
         return(Control_ActionUtilities.Click(pageObj, "Page not found"));
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }
 public static bool ClickCodeListsLink(String process)
 {
     try
     {
         WebTable_SearchCriteriaItemList list = new WebTable_SearchCriteriaItemList();
         list.AddSearchItem(new WebTable_SearchCriteriaItem(1, process, TableColumnContentType.Text));
         IControl codeListRow  = WebTableUtilities.Table_FindRow(CodeListsPage.CodeListsTable, list);
         IControl codeListCell = WebTableUtilities.GetCell(codeListRow, 1);
         IControl codeListLink = CodeListsPage.GetCodeListLink(codeListCell, process);
         return(Control_ActionUtilities.Click(codeListLink, "Unable to click process link " + process));
     }
     catch (Exception e)
     {
     }
     return(false);
 }