<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BytesiteTesting</title>
	<atom:link href="http://www.bytesite.co.uk/tag/testing/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bytesite.co.uk</link>
	<description></description>
	<lastBuildDate>Fri, 12 Mar 2010 09:26:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Selenium &amp; TinyMCE</title>
		<link>http://www.bytesite.co.uk/selenium-tinymce</link>
		<comments>http://www.bytesite.co.uk/selenium-tinymce#comments</comments>
		<pubDate>Fri, 13 Mar 2009 15:42:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Selenium]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[TinyMCE]]></category>

		<guid isPermaLink="false">http://www.bytesite.co.uk/?p=180</guid>
		<description><![CDATA[Selenium&#8217;s &#8216;type&#8217; command will not work with forms using TinyMCE for WYSIWYG markup.  To test TinyMCE forms, you need to use &#8216;runScript&#8217; to fire off some JavaScript to set the value.

First use mceFocus to get the textarea you wish to alter, in this case id=&#8221;body&#8221;:

tinyMCE.execCommand&#40;'mceFocus',false,'body'&#41;;

Next, set the text by using mceInsertContent:

tinyMCE.execCommand&#40;&#34;mceInsertContent&#34;, false, &#34;body text&#34;&#41;;

In [...]]]></description>
		<wfw:commentRss>http://www.bytesite.co.uk/selenium-tinymce/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
