Search Here!

Monday, February 25, 2013

Handle 'HTML text editor' in selenium RC and WebDriver

We could not directly insert text in the HTML editor. To automate the HTML editor we need to first click on the Show view source image button in the Editor tool box and then we can able to insert text in HTML editor text area.


WebDriver.FindElement(By.Id("viewsource")).Click();



WebDriver.FindElement(By.Id("txtHTMLEditor_textarea")).SendKeys("This is my Text!");





1 comment:

  1. Hello Manish, all your Posts are amazing. Could you please add some posts on Selenium Grid for us?
    many Thanks

    ReplyDelete