- 
        1. Testing rich:editor with Seleniumppitonak May 3, 2011 6:59 AM (in response to bmaia)Hi Barbara, we didn't test rich:editor with Selenium 2 but we have several tests using Selenium 1.x. Editor component is a bit tricky because it uses an iframe which causes problems with Selenium. You need to switch frames according to which element of the page are you using. You can have a look on our tests for richfaces-demo: Basically what you need to do to access editor's content, you have to call selenium.selectFrame( ... inner iframe locator ...); and after you checked the content, you switch back to main window using selenium.selectFrame("relative=top"); I'm not sure whether this approach works with Selenium 2 too but give it a try Regards, Palo 
- 
        2. Re: Testing rich:editor with Seleniumbmaia May 4, 2011 3:14 PM (in response to ppitonak)Thanks for the fast response! I already tried a variation of what you suggested, my problem is that "inner iframe locator" i looked in the rendered HTML page and there is no iframe, should I be looking for the locator somewhere else? I tried using the xpath expression for the rendered textarea but selenium complains that it is not a frame (Which makes all the sense in the world ) EDIT: Never mind, Used chrome's "Inspect Element" and found the iframe, your solution worked like a charm!! Thank You Very Much! 
 
    