While writing an selinium test I came across an problem while adding text to the ckEditor instance thorugh the test. And after a long search and research I got the below solution.

Command works is runscript() :
Usage : runscript(script);
Example :
runScript(CKEDITOR.instances["edit-body"].setData('<p>testContent</p>'); );

where "edit-body", is the instance name of the loaded ckdeditor.

Hope this helps someone. :)
 

 

php.png    firefox.png    open_source.png    ubuntu.png    drupal.png    civicrm.png     jquery

Recent comments

Follow Me

flickr.png    yahoo.png    facebook.png    twitter.png

google.png    youtube.png    wordpress.png   

       wordpress.png

Ohloh profile for rahulbile

User login