Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» FlexMonkium Download Not available under Gorillalogic site
Thu Dec 08, 2016 5:40 pm by bhanu.praveen

» Selenium Script issue
Tue Dec 06, 2016 9:48 pm by njain213

» Difference between QTP, Selenium and Silk test
Tue Dec 06, 2016 7:58 pm by jessicacyrus1

» Where does selenium script pick browser from
Tue Dec 06, 2016 1:52 pm by janbaskt

» Safari throws an HTTP ERROR: 404
Tue Dec 06, 2016 1:51 pm by janbaskt

» Access Denied Error in Selenium RC
Tue Dec 06, 2016 1:51 pm by janbaskt

» Automating Flex application through selenium webdriver
Fri Dec 02, 2016 2:06 pm by abhinay.krs

» Starting with Selenium, what is Selenium?
Mon Nov 28, 2016 4:00 pm by Foma

» Getting started with Selenium
Mon Nov 28, 2016 3:23 pm by Rebbelx

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Using Webdriver to put values into a WYSIWIG editor

View previous topic View next topic Go down

Using Webdriver to put values into a WYSIWIG editor

Post by rodale_janet on Thu May 08, 2014 7:58 pm

I am testing the moving of one of our magazines to Drupal 7.  When I recorded my test for adding content, Selenium never added the step for me adding information within the body of the content using the WYSIWIG editor.   Can someone tell me how I can do this??

It will not let me attach the file containing the HTML even though it is a .txt file.   If someone has an idea on how I can do that I will then post the HTML.  Thanks!!!


Last edited by rodale_janet on Thu May 08, 2014 8:06 pm; edited 2 times in total (Reason for editing : Attaching HTML rather than putting in post.)

rodale_janet
Active particpant
Active particpant

Posts : 10
Join date : 2014-03-07

Back to top Go down

Re: Using Webdriver to put values into a WYSIWIG editor

Post by rodale_janet on Fri May 09, 2014 3:08 am

Code:
Here is the HTML:

<div class="field-type-text-long field-name-field-body field-widget-text-textarea form-wrapper" id="edit-field-body"><div id="field-body-add-more-wrapper"><div class="text-format-wrapper"><div class="form-item form-type-textarea form-item-field-body-und-0-value">
  <label for="edit-field-body-und-0-value">Body </label>
 <div class="form-textarea-wrapper"><textarea class="text-full form-textarea" id="edit-field-body-und-0-value" name="field_body[und][0][value]" cols="60" rows="5"></textarea></div>
</div>
<fieldset class="filter-wrapper form-wrapper" id="edit-field-body-und-0-format"><div class="fieldset-wrapper"><div class="filter-help form-wrapper" id="edit-field-body-und-0-format-help"><p><a href="/filter/tips" target="_blank">More information about text formats</a></p></div><div class="form-item form-type-select form-item-field-body-und-0-format">
  <label for="edit-field-body-und-0-format--2">Text format </label>
 <select class="filter-list wysiwyg form-select" id="edit-field-body-und-0-format--2" name="field_body[und][0][format]"><option value="full_html" selected="selected">Full HTML</option><option value="filtered_html">Filtered HTML</option><option value="plain_text">Plain text</option></select>
</div>
<div class="filter-guidelines form-wrapper" id="edit-field-body-und-0-format-guidelines"><div class="filter-guidelines-item filter-guidelines-full_html"><h3>Full HTML</h3><ul class="tips"><li>Lines and paragraphs break automatically.</li><li>[[nid:123]] - Insert a node content</li></ul></div><div class="filter-guidelines-item filter-guidelines-filtered_html"><h3>Filtered HTML</h3><ul class="tips"><li>[[nid:123]] - Insert a node content</li><li>Web page addresses and e-mail addresses turn into links automatically.</li><li>Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd></li></ul></div><div class="filter-guidelines-item filter-guidelines-plain_text"><h3>Plain text</h3><ul class="tips"><li>No HTML tags allowed.</li><li>Web page addresses and e-mail addresses turn into links automatically.</li><li>Lines and paragraphs break automatically.</li></ul></div></div></div></fieldset>
</div>
</div></div>

rodale_janet
Active particpant
Active particpant

Posts : 10
Join date : 2014-03-07

Back to top Go down

Re: Using Webdriver to put values into a WYSIWIG editor

Post by rodale_janet on Fri May 09, 2014 3:09 am

I need to know what in the code above I can use to get content I enter into the body field to be executed using Webdriver.

rodale_janet
Active particpant
Active particpant

Posts : 10
Join date : 2014-03-07

Back to top Go down

Re: Using Webdriver to put values into a WYSIWIG editor

Post by Sponsored content Today at 3:49 pm


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum