public static bool InvokeClearItem(string QuestionPrompt)
        {
            bool success = false;

            try
            {
                IControl ArrowIcon = DL_CRFPage.GetArrowIconForAQuestion(QuestionPrompt);
                if (ArrowIcon != null && ArrowIcon.WebElement != null)
                {
                    Control_ActionUtilities.Click(ArrowIcon, "Unable to click on Arrow icon for the question " + QuestionPrompt);
                    IControl clearItem = DL_CRFPage.GetClearItemElement;
                    if (clearItem != null && clearItem.WebElement != null)
                    {
                        success = Control_ActionUtilities.Click(clearItem, "Unable to click on Clear Item element for question " + QuestionPrompt);
                    }
                }
            }
            catch (Exception e)
            {
                new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
            }
            return(success);
        }
        public static bool SelectAddCommentElementForTableQuestion(IControl TableRow, string QuestionPrompt)
        {
            bool success = false;

            try
            {
                IControl ArrowIcon = DL_CRFPage.GetArrowIconForAQuestion(TableRow, QuestionPrompt);
                if (ArrowIcon != null && ArrowIcon.WebElement != null)
                {
                    Control_ActionUtilities.Click(ArrowIcon, "Unable to click on Arrow icon for the question " + QuestionPrompt);
                    IControl AddComment = DL_CRFPage.GetAddCommentElement;
                    if (AddComment != null && AddComment.WebElement != null)
                    {
                        success = Control_ActionUtilities.Click(AddComment, "Unable to click on Add Comment element for question " + QuestionPrompt);
                    }
                }
            }
            catch (Exception e)
            {
                new DebugLogGenerator().WriteException(MethodBase.GetCurrentMethod().DeclaringType.Name, MethodBase.GetCurrentMethod().Name, e);
            }
            return(success);
        }