Last week I worked on some integration tests in Selenium. Today I’m redoing the same test in WatiN to get a feel for both tools.
var js = "tinyMCE.get('tinyTextAreaId').setContent('some html');"; var s = Document.Eval(js);
This would work just as good with Selenium and it has one advantage over setting the text areas. It executes the eventual cleanup rules in TinyMCE before it sets the text.