public void HighlightSentenceOnEditor()
 {
     WaitForEditorToDisplay();
     WaitForFrameToDisplay();
     ReWaitForTinyMceToDisplay();
     //EditorContentArea.SendKeys(Keys.Control + "a");
     EditorContentArea.SendKeys(Keys.Home);
     EditorContentArea.SendKeys(Keys.Shift + Keys.ArrowRight);
     this.DriverCommands.WaitToSwitchWindow(_currentWindow, 3);
 }
        public void InputFormFields(WebElementWrapper lastElementExecuted)
        {
            LastElementExecuted = lastElementExecuted;
            WaitForEditorToDisplay();
            //WaitForFrameToDisplay();
            //ReWaitForTinyMceToDisplay();

            if (Gaps <= 0)
            {
                if (DoFileUpload)
                {
                    UploadImage();
                }

                WaitForFrameToDisplay();
                //WaitForTinyMceToDisplay();
                ReWaitForTinyMceToDisplay();

                EditorContentArea.SendKeys(ContentData);
            }
            else
            {
                for (int i = 0; i < Gaps; i++)
                {
                    if (DoFileUpload)
                    {
                        UploadImage();
                    }

                    WaitForFrameToDisplay();
                    WaitForTinyMceToDisplay();

                    EditorContentArea.SendKeys(GapContentData[i]);

                    this.DriverCommands.WaitToSwitchWindow(_currentWindow, 3);

                    InsertNewGapLink.Wait(3).Click();

                    //WaitForFrameToDisplay();
                    //WaitForTinyMceToDisplay();
                }

                WaitForFrameToDisplay();
                WaitForTinyMceToDisplay();

                EditorContentArea.SendKeys(ContentData);
            }
            //Driver.SwitchTo().Window(_currentWindow);
            this.DriverCommands.WaitToSwitchWindow(_currentWindow, 3);
        }
        public override void InputFormFields()
        {
            WaitForEditorToDisplay();

            if (DoFileUpload)
            {
                UploadImage();
            }

            WaitForLightboxFrameToDisplay();
            WaitForIFrameToDisplay();
            ReWaitForTinyMceToDisplay();

            EditorContentArea.SendKeys(ContentData);
            this.DriverCommands.WaitToSwitchWindow(this.Parent.CurrentWindowHandle, 3);
        }
        public void InputFormFields(WebElementWrapper lastElementExecuted)
        {
            LastElementExecuted = lastElementExecuted;
            WaitForEditorToDisplay();

            if (DoFileUpload)
            {
                UploadImage();
            }

            WaitForLightboxFrameToDisplay();
            WaitForIFrameToDisplay();
            ReWaitForTinyMceToDisplay();

            EditorContentArea.SendKeys(ContentData);
            this.DriverCommands.WaitToSwitchWindow(this.Parent.CurrentWindowHandle, 3);
        }