[rt-users] selenium webdriver tests
Hugo Escobar
hescobar at afslc.com
Mon Nov 12 16:49:00 EST 2012
Hi there:
I been implementing a testing environment for custom code based on selenium
webdriver.
Testing environment: CentOS 6.3, Apache, MySQL, Firefox.
So far, I've been successful in running a set of test cases, the only
problem I have is when I try to update the textarea (create, or reply
ticket). The js script executes showing no errors, etc but the content
never changes. My assumption is that the ckeditor is not updating
its content when a value has been assigned to the textarea element.
I show below a couple of the js snippets of my unsuccessful attempts:
=-=-=-
document.getElementsByName('UpdateContent')[0].value='Testing ticket reply.'
=-=-=-=
function UpdateFields() {
for (instance in CKEDITOR.instances) {
CKEDITOR.instance.setData('asdfasdfasdf');
// CKEDITOR.instances[instance].setData('asdfasdf');
}
}
Any help will highly appreciated!
--
Hugo Escobar
[image: AFS_logo.png]
Follow us on Facebook and Linked-In
[image: facebook-24x24.png]<http://www.facebook.com/pages/Miami-FL/ASSOCIATION-FINANCIAL/64952991864>
[image: linkedin-24x24.png] <http://www.linkedin.com/companies/1006276>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121112/9e7803fb/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: AFS_logo.png
Type: image/png
Size: 3183 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121112/9e7803fb/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin-24x24.png
Type: image/png
Size: 875 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121112/9e7803fb/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: facebook-24x24.png
Type: image/png
Size: 814 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20121112/9e7803fb/attachment-0002.png>
More information about the rt-users
mailing list