Hi,
I am trying to input a text into CKeditor but no luck so far.
I have an iframe within ifrrame. second iframe does not have an id or name.
The one in red is the final body but I am not sure how to indupt text
there. Since its an iframe I did
within_frame('_createstudy_WAR_altheacslportlet_editor') do //so I inside
first iframe
what should I use to get to second iframe? how should I input the text.
I am using capybara not watir framework.
Thanks in advance!
Here is my code
<iframe id="_createstudy_WAR_altheacslportlet_editor" width="100%"
height="450" style="border: none;"
src="/html/js/editor/editor.jsp?p_l_id=36331&p_main_path=%2Fc&doAsUserId=nVObVfql3jM%3D&editorImpl=ckeditor&initMethod=getStudyWelcome&cssPath=%2Fcsl-inner-pages-theme%2Fcss&cssClasses=portlet+create-study-portlet"
name="_createstudy_WAR_altheacslportlet_editor">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<body onpageshow="null;event.persisted && CKEDITOR.tools.callFunction(0)">
<textarea id="CKEditor1" name="CKEditor1" style="visibility: hidden;
display: none;"></textarea>
<span id="cke_CKEditor1" class="cke_skin_kama cke_editor_CKEditor1"
lang="en" aria-labelledby="cke_CKEditor1_arialbl" role="application"
title=" " dir="ltr" onmousedown="return false;">
<span id="cke_CKEditor1_arialbl" class="cke_voice_label">Rich Text
Editor</span>
<span class="cke_browser_gecko" role="presentation">
<span class="cke_wrapper cke_ltr" role="presentation">
<table class="cke_editor" cellspacing="0" cellpadding="0" border="0"
role="presentation">
<tbody>
<tr style="-moz-user-select: none;">
<tr>
<td id="cke_contents_CKEditor1" class="cke_contents" role="presentation"
style="height:200px">
<iframe frameborder="0" allowtransparency="true" tabindex="0"
src="javascript:void(function(){document.open()%3Bdocument.close()%3B}())"
style="width:100%;height:100%">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr">
<head>
*<body class="cke_show_borders" spellcheck="false">*
</html>
</iframe>
</td>
</
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.