[Wtr-general] Inputing text into a <textarea> that is contained within a <div>
Ryan Howard (Intern)
ryhoward at telligent.com
Thu Sep 7 14:30:37 EDT 2006
Hi,
I'm having a lot of trouble trying to get Watir to input
text into a <textarea> that is within a <div>, I have tried a lot of
things, such as
ie.divs(:class, "CommonFormField" ).set('watir')
and a ton of variations to that. I am totally out of ideas.
>From what I know, the box is know as a WYSIWYG editor, and the box has
buttons on top that look like these.
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Bold',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Italic',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Underline',false
);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Strikethrough',f
alse);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Indent',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Outdent',false);
>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','InsertUnorderedL
ist',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','InsertOrderedLis
t',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceLink',true);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','unlink',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceImage',true);
>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','csContentSelecto
r',true);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Cut',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Copy',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','Paste',false);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','mcePasteWord',tr
ue);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceCodeEditor',f
alse);>
<javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceIESpell');>
Any help would be greatly appreciated.
-Ryan Howard
Intern: Systems Testing & Automation
>telligentsystems
Exceptional Service. Predictable Results.
www.telligent.com <http://www.telligentsystems.com/>
email: ryhoward at telligent.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 76 bytes
Desc: image001.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0019.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 79 bytes
Desc: image002.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0020.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 88 bytes
Desc: image003.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0021.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 83 bytes
Desc: image004.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0022.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 57 bytes
Desc: image005.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0023.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 112 bytes
Desc: image006.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0024.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 110 bytes
Desc: image007.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0025.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 108 bytes
Desc: image008.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0026.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 111 bytes
Desc: image009.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0027.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 175 bytes
Desc: image010.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0028.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 190 bytes
Desc: image011.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0029.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 322 bytes
Desc: image012.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0030.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 113 bytes
Desc: image013.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0031.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 187 bytes
Desc: image014.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0032.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 263 bytes
Desc: image015.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0033.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 286 bytes
Desc: image016.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0034.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 299 bytes
Desc: image017.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0035.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 110 bytes
Desc: image018.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0036.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 124 bytes
Desc: image019.gif
Url : http://rubyforge.org/pipermail/wtr-general/attachments/20060907/48e36a2c/attachment-0037.gif
More information about the Wtr-general
mailing list