<?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>Sitecore Xperiences &#187; PhantomJS</title>
	<atom:link href="https://blog.peplau.com.br/tag/phantomjs/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.peplau.com.br</link>
	<description>The things I&#039;ve seen as a Sitecore Professional</description>
	<lastBuildDate>Sun, 09 Mar 2025 21:54:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>ERROR [Content Testing]: Cannot find PhantomJS executable at &#039; (...) /data/tools/phantomjs/phantomjs.exe&#039;. Aborting screenshot generation.</title>
		<link>https://blog.peplau.com.br/error-content-testing-cannot-find-phantomjs-executable-at-datatoolsphantomjsphantomjs-exe-aborting-screenshot-generation/</link>
		<comments>https://blog.peplau.com.br/error-content-testing-cannot-find-phantomjs-executable-at-datatoolsphantomjsphantomjs-exe-aborting-screenshot-generation/#comments</comments>
		<pubDate>Tue, 07 Feb 2017 22:09:10 +0000</pubDate>
		<dc:creator><![CDATA[Rodrigo Peplau]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[PhantomJS]]></category>

		<guid isPermaLink="false">http://blog.peplau.com.br/?p=526</guid>
		<description><![CDATA[<div class="lr_horizontal_share" data-share-url="https://blog.peplau.com.br/error-content-testing-cannot-find-phantomjs-executable-at-datatoolsphantomjsphantomjs-exe-aborting-screenshot-generation/"></div>In Sitecore 8 and above, while starting a Multivariate Tests, you may see broken thumbnails and popups with warnings such as below, and your Sitecore Log showing the error at this blog title. According to what Sitecore Development Team announced at this community post for why Sitecore adopted PhantomJS: Content Testing in Sitecore uses the Phantom JS tool for generation of the screenshot [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>In Sitecore 8 and above, while starting a Multivariate Tests, you may see broken thumbnails and popups with warnings such as below, and your Sitecore Log showing the error at this blog title.</p>
<p><a href="http://blog.peplau.com.br/wp-content/uploads/Error-Running-Test-PhantomJS-1.png"><img class=" wp-image-529 size-medium alignnone" src="http://blog.peplau.com.br/wp-content/uploads/Error-Running-Test-PhantomJS-1-300x159.png" alt="Error Running Test - PhantomJS - 1" width="300" height="159" /><br />
</a><a href="http://blog.peplau.com.br/wp-content/uploads/Error-Running-Test-PhantomJS-2.png"><img class=" wp-image-527 size-medium alignnone" src="http://blog.peplau.com.br/wp-content/uploads/Error-Running-Test-PhantomJS-2-300x215.png" alt="Error Running Test - PhantomJS - 2" width="300" height="215" /><br />
</a>According to what Sitecore Development Team announced at <a href="https://community.sitecore.net/technical_blogs/b/sitecore_development_team/posts/screenshot-settings-for-content-testing" target="_blank">this community post</a> for why Sitecore adopted PhantomJS:</p>
<blockquote><p>Content Testing in Sitecore uses the Phantom JS tool for generation of the screenshot image files. In case you didn&#8217;t know, Sitecore has had screenshot generation features for quite some time. We use it to generate icons for items that you&#8217;ll be listing in the UI like renderings. These icon generation features are based on the System.Windows.Forms.WebBrowser control built into .net. So why did we not use the existing screenshot features for Content Testing? In early testing we found discrepancies with the WebBrowser control. WebBrowser uses Internet Explorer installed on the server where Sitecore is running. But the specific version that it uses isn&#8217;t always the latest. There are registry updates one can make to force the appropriate IE version, but this seemed like a big ask of users. This was one of the reasons we chose to use Phantom JS instead.</p></blockquote>
<h2>Cause and Solution</h2>
<p>The error in question will show the full path to where Sitecore is looking for PhantomJS. This path is defined at Sitecore.ContentTesting.config, at the entry &#8220;ContentTesting.PhantomJS.ExecutablePath&#8221;. Start your investigation by checking where your setting is currently pointing to.</p>
<p>By default this setting points to &#8220;$(dataFolder)/tools/phantomjs/phantomjs.exe&#8221;. If that is your case, check if your Data folder has the PhantomJS executable under that path. If this file is lacking, take a copy from a fresh Sitecore installation (make sure to use the very same revision your site is using).</p>
<p><strong>See also: </strong><a href="https://doc.sitecore.net/sitecore_experience_platform/setting_up_and_maintaining/security_hardening/configuring/phantomjs_and_security_hardening" target="_blank">PhantomJS and security hardening</a></p>
]]></content:encoded>
			<wfw:commentRss>https://blog.peplau.com.br/error-content-testing-cannot-find-phantomjs-executable-at-datatoolsphantomjsphantomjs-exe-aborting-screenshot-generation/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
