to automate following type of rich text editor :
As selenium IDE will not record any text entering in to text area. we need to add manually
selenium.selectFrame("//table/tbody/tr[2]/td/iframe"); //frame location
selenium.typeKeys("//html/body/p/br", comment_fromdrupal);
selenium.selectWindow("null");
assertTrue(selenium.isElementPresent("edit-submit"));
selenium.click("edit-submit");
selenium.typeKeys("//html/body/p/br", comment_fromdrupal);
selenium.selectWindow("null");
assertTrue(selenium.isElementPresent("edit-submit"));
selenium.click("edit-submit");
so, for frame position, search using xpather, and use typeKeys.
