public static bool InvokeIcon_TableQuestion(String tableName, String questionPrompt, String iconName, string flagType = null)
 {
     try
     {
         return(Control_ActionUtilities.Click(DL_CRF_Question_Icon.GetIcon_TableQuestion(tableName, questionPrompt, iconName, flagType), String.Empty));
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }
 public static bool IsIconAvailable_TableQuestion(String tableName, String questionPrompt, String iconName, string flagType = null)
 {
     try
     {
         IControl icon = DL_CRF_Question_Icon.GetIcon_TableQuestion(tableName, questionPrompt, iconName, flagType);
         return(!Control_PropertyUtilities.IsControlNull(icon));
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }
 public static bool ClearItemFlatQuestion(string questionPrompt)
 {
     try
     {
         IControl icon = DL_CRF_Question_Icon.GetIcon_FlatQuestion(questionPrompt, "arrow6_dn.png");
         if (Control_ActionUtilities.Click(icon, "Unable to Select down arrow on question : " + questionPrompt))
         {
             return(Control_ActionUtilities.Click(DL_CRFPage.GetClearItemElement, "Unable to get Clear Item link for question prompt : " + questionPrompt));
         }
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }
 public static bool ClearItem(String tableName, String questionPrompt)
 {
     try
     {
         IControl icon = DL_CRF_Question_Icon.GetIcon_TableQuestion(tableName, questionPrompt, "arrow6_dn.png");
         if (Control_ActionUtilities.Click(icon, String.Empty))
         {
             return(Control_ActionUtilities.Click(DL_CRFPage.GetClearItemElement, String.Empty));
         }
     }
     catch (Exception e)
     {
         new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
     }
     return(false);
 }