public static bool ValidateFrameHeaderText(String ExpectedText)
        {
            BrowserUtilities.SwitchToWebFocusFrame();
            String actualText = ReadFrameHeaderText(wf_Page_Frame.frameHeader);

            if (!actualText.ToUpper().Equals(ExpectedText.ToUpper()))
            {
                return(false);
            }
            BrowserUtilities.SwitchToWindow();
            return(true);
        }
        public static IControl GetSectionHeaderByText(String SectionText)
        {
            IControl ctrl = null;

            BrowserUtilities.SwitchToWebFocusFrame();
            ReadOnlyCollection <IControl> section = SyncUtilities.FindElements(By.ClassName("sectionHeader"));

            foreach (IControl c in section)
            {
                if (c.WebElement.Text.ToUpper().Contains(SectionText.ToUpper()))
                {
                    ctrl = c;
                    return(ctrl);
                }
            }
            return(ctrl);
        }