<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Capture Screenshot in Extent Reports &#8211; Java	</title>
	<atom:link href="https://automationtesting.in/capture-screenshot-in-extent-reports-java/feed/" rel="self" type="application/rss+xml" />
	<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/</link>
	<description>Automation Testing</description>
	<lastBuildDate>Fri, 26 May 2017 11:48:00 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.2.2</generator>
	<item>
		<title>
		By: Nilay Das		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-102</link>

		<dc:creator><![CDATA[Nilay Das]]></dc:creator>
		<pubDate>Wed, 05 Apr 2017 08:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-102</guid>

					<description><![CDATA[can we just link the screenshot with the status without displaying them in the report? If yes, Can you help me with the code.

Thanks in advance]]></description>
			<content:encoded><![CDATA[<p>can we just link the screenshot with the status without displaying them in the report? If yes, Can you help me with the code.</p>
<p>Thanks in advance</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: vijay		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-86</link>

		<dc:creator><![CDATA[vijay]]></dc:creator>
		<pubDate>Thu, 23 Mar 2017 06:30:22 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-86</guid>

					<description><![CDATA[use double backslash as below.

String screenShotPath= System.getProperty(&quot;user.dir&quot;)
                + &quot;\\screen_shot\\&quot; + moduleName+ &quot;_&quot;+ timeStamp + &quot;.jpg&quot;;]]></description>
			<content:encoded><![CDATA[<p>use double backslash as below.</p>
<p>String screenShotPath= System.getProperty(&#8220;user.dir&#8221;)<br />
                + &#8220;\\screen_shot\\&#8221; + moduleName+ &#8220;_&#8221;+ timeStamp + &#8220;.jpg&#8221;;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: sl		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-76</link>

		<dc:creator><![CDATA[sl]]></dc:creator>
		<pubDate>Wed, 08 Mar 2017 19:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-76</guid>

					<description><![CDATA[I don&#039;t think its about adding Assert statement.I too have the same problem,I tried adding assertions it didn&#039;t work.I guess its with the size of the image attached.

Mine is around 111,274  bytes.

Please update if you get the answer.

Thanks]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t think its about adding Assert statement.I too have the same problem,I tried adding assertions it didn&#8217;t work.I guess its with the size of the image attached.</p>
<p>Mine is around 111,274  bytes.</p>
<p>Please update if you get the answer.</p>
<p>Thanks</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: tester		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-53</link>

		<dc:creator><![CDATA[tester]]></dc:creator>
		<pubDate>Mon, 13 Feb 2017 17:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-53</guid>

					<description><![CDATA[even with PASS situation no screenshot appears..
html report shows image as broken

  test.log(LogStatus.PASS]]></description>
			<content:encoded><![CDATA[<p>even with PASS situation no screenshot appears..<br />
html report shows image as broken</p>
<p>  test.log(LogStatus.PASS</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Krishna Sakinala		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-52</link>

		<dc:creator><![CDATA[Krishna Sakinala]]></dc:creator>
		<pubDate>Mon, 13 Feb 2017 11:58:59 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-52</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-50&quot;&gt;Oleg&lt;/a&gt;.

You did not written any Assert to verify something in the script. Then how it will go to the failure concept and takes the screenshot. Please try to add some assertion in the script.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-50">Oleg</a>.</p>
<p>You did not written any Assert to verify something in the script. Then how it will go to the failure concept and takes the screenshot. Please try to add some assertion in the script.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Oleg		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-50</link>

		<dc:creator><![CDATA[Oleg]]></dc:creator>
		<pubDate>Sun, 12 Feb 2017 15:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-50</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-45&quot;&gt;Krishna Sakinala&lt;/a&gt;.

Any update, how to fix?]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-45">Krishna Sakinala</a>.</p>
<p>Any update, how to fix?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Oleg		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-47</link>

		<dc:creator><![CDATA[Oleg]]></dc:creator>
		<pubDate>Wed, 08 Feb 2017 23:48:54 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-47</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-45&quot;&gt;Krishna Sakinala&lt;/a&gt;.

The same result. Image creats but not displaying in report. 

Put report here 
extent = new ExtentReports(System.getProperty(&quot;user.dir&quot;) + &quot;/src/report/ExtentScreenshot.html&quot;, true);

Pur image here 
String dest = System.getProperty(&quot;user.dir&quot;) +&quot;/src/report/image/&quot;+screenShotName+&quot;.jpg&quot;;

https://goo.gl/MGstr4]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-45">Krishna Sakinala</a>.</p>
<p>The same result. Image creats but not displaying in report. </p>
<p>Put report here<br />
extent = new ExtentReports(System.getProperty(&#8220;user.dir&#8221;) + &#8220;/src/report/ExtentScreenshot.html&#8221;, true);</p>
<p>Pur image here<br />
String dest = System.getProperty(&#8220;user.dir&#8221;) +&#8221;/src/report/image/&#8221;+screenShotName+&#8221;.jpg&#8221;;</p>
<p><a href="https://goo.gl/MGstr4" rel="nofollow ugc">https://goo.gl/MGstr4</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Krishna Sakinala		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-45</link>

		<dc:creator><![CDATA[Krishna Sakinala]]></dc:creator>
		<pubDate>Wed, 08 Feb 2017 00:38:11 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-45</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-44&quot;&gt;Oleg&lt;/a&gt;.

I am not very sure but create another folder instead of using &lt;strong&gt;test-output&lt;/strong&gt;. Just a wild guess, give a try and let me know.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-44">Oleg</a>.</p>
<p>I am not very sure but create another folder instead of using <strong>test-output</strong>. Just a wild guess, give a try and let me know.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Oleg		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-44</link>

		<dc:creator><![CDATA[Oleg]]></dc:creator>
		<pubDate>Tue, 07 Feb 2017 22:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-44</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-41&quot;&gt;Krishna Sakinala&lt;/a&gt;.

Code in my repository
https://github.com/Remishevskiy/automation/blob/master/src/driver/appModules/GetScreenShot.java
https://github.com/Remishevskiy/automation/blob/master/src/driver/TestCases/LoggedUserBuySimplePrViaBraintree.java
https://github.com/Remishevskiy/automation/blob/master/ExtentScreenshot.html

Also i tried to change path to image like this, but it doesn&#039;t work too.
String dest = System.getProperty(&quot;user.dir&quot;) +&quot;\\test-output\\&quot;+screenShotName+&quot;.jpg&quot;;

Thanks for helping.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-41">Krishna Sakinala</a>.</p>
<p>Code in my repository<br />
<a href="https://github.com/Remishevskiy/automation/blob/master/src/driver/appModules/GetScreenShot.java" rel="nofollow ugc">https://github.com/Remishevskiy/automation/blob/master/src/driver/appModules/GetScreenShot.java</a><br />
<a href="https://github.com/Remishevskiy/automation/blob/master/src/driver/TestCases/LoggedUserBuySimplePrViaBraintree.java" rel="nofollow ugc">https://github.com/Remishevskiy/automation/blob/master/src/driver/TestCases/LoggedUserBuySimplePrViaBraintree.java</a><br />
<a href="https://github.com/Remishevskiy/automation/blob/master/ExtentScreenshot.html" rel="nofollow ugc">https://github.com/Remishevskiy/automation/blob/master/ExtentScreenshot.html</a></p>
<p>Also i tried to change path to image like this, but it doesn&#8217;t work too.<br />
String dest = System.getProperty(&#8220;user.dir&#8221;) +&#8221;\\test-output\\&#8221;+screenShotName+&#8221;.jpg&#8221;;</p>
<p>Thanks for helping.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Krishna Sakinala		</title>
		<link>https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-41</link>

		<dc:creator><![CDATA[Krishna Sakinala]]></dc:creator>
		<pubDate>Tue, 07 Feb 2017 01:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://automationtesting.in/?p=257#comment-41</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-40&quot;&gt;Oleg&lt;/a&gt;.

It will be helpful if you provide the code to investigate.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://automationtesting.in/capture-screenshot-in-extent-reports-java/#comment-40">Oleg</a>.</p>
<p>It will be helpful if you provide the code to investigate.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
