I have been working on the integration testing of a webapp using watin. The webapp uses fckeditor as one of the richtext controls.
Here is the piece of html of the viewsource of my webapp that includes fckeditor
iframe id="ctl00_HeaderMain_txtSafetyNetDescription___Frame" src="/FCKEditor/editor/fckeditor.html?InstanceName=ctl00_HeaderMain_txtSafetyNetDescription&Toolbar=myApp" width="100%" height="200px" frameborder="no" scrolling="no" /iframe
By using the watin script ... i am able to get the frame object with the following code.
Frame frame = ie.Frame(Find.ById("ctl00_HeaderMain_txtSafetyNetDescription___Frame")) ;
Now I want to write some text to the fckeditor. But i am not sure how to write to the fckeditor as it is a frame -- can someone help me on this.
Thanks. Iyyengar.