Hi there:<br><br>I been implementing a testing environment for custom code based on selenium webdriver.<br><br>Testing environment: CentOS 6.3, Apache, MySQL, Firefox.<br><br>So far, I've been successful in running a set of test cases, the only<br>
problem I have is when I try to update the textarea (create, or reply<br>ticket). The js script executes showing no errors, etc but the content<br>never changes. My assumption is that the ckeditor is not updating <br>its content when a value has been assigned to the textarea element.<br>
<br>I show below a couple of the js snippets of my unsuccessful attempts:<br><br>=-=-=- <br>document.getElementsByName('UpdateContent')[0].value='Testing ticket reply.'<br><br>=-=-=-=<br><pre style>function UpdateFields() {<br>
for (instance in CKEDITOR.instances) {<br> CKEDITOR.instance.setData('asdfasdfasdf');<br> // CKEDITOR.instances[instance].setData('asdfasdf');<br> }<br>}</pre><br>Any help will highly appreciated!<br clear="all">
<br>-- <br>Hugo Escobar<br><br><br><img title="AFS_logo.png" alt="AFS_logo.png" src="cid:ii_12ddc99660bf2d8d" height="35" width="171"><br><br>Follow us on Facebook and Linked-In<br clear="all"><br><a href="http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864" target="_blank"><img title="facebook-24x24.png" alt="facebook-24x24.png" src="cid:ii_12ddc9e6256d137a"></a> <a href="http://www.linkedin.com/companies/1006276" target="_blank"><img title="linkedin-24x24.png" alt="linkedin-24x24.png" src="cid:ii_12ddc9cb29a3a5d5"></a><br>
<br>