[Wtr-general] Inputing text into a <textarea> that is containedwithin a <div>
Alan Ark
arkie at compli.com
Thu Sep 7 18:42:47 EDT 2006
Hey there.
Your editor looks similar to “FreeTextBox” which I was looking to test against.
I had no luck in my investigations, but I have also been pretty busy with other things lately.
One thing that I was going to try is ask around to see if one of the developers could interact with the editor using VBScript. Usually, if it can be modified successfully in VBScript, finding the Ruby way isn’t that far of a reach.
Just a though.
-Alan
_____
From: wtr-general-bounces at rubyforge.org [mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Ryan Howard (Intern)
Sent: Thursday, September 07, 2006 11:31 AM
To: wtr-general at rubyforge.org
Subject: [Wtr-general] Inputing text into a <textarea> that is containedwithin a <div>
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.
HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Bold',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Italic',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Underline',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Strikethrough',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Indent',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Outdent',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','InsertUnorderedList',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','InsertOrderedList',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceLink',true);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','unlink',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceImage',true);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','csContentSelector',true);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Cut',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Copy',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','Paste',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','mcePasteWord',true);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceCodeEditor',false);"HYPERLINK "javascript:tinyMCE.execInstanceCommand('mce_editor_0','mceIESpell');"
Any help would be greatly appreciated.
-Ryan Howard
Intern: Systems Testing & Automation
»telligentsystems
Exceptional Service. Predictable Results.
HYPERLINK "http://www.telligentsystems.com/"www.telligent.com
email: HYPERLINK "mailto:ryhoward at telligent.com"ryhoward at telligent.com
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 9/6/2006
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.1/440 - Release Date: 9/6/2006
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060907/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/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/0b89f3b9/attachment-0037.gif
More information about the Wtr-general
mailing list