[rspec-users] RSpec Selenium Webdriver Html Report with Screenshots
Javix
s.cambour at gmail.com
Mon Sep 3 11:58:46 UTC 2012
You can generate HTML reports with surefire, just addd the folowing to your
POM file:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.4.3</version>
</plugin>
</reportPlugins>
</configuration>
</plugin>
See more details on its use at
http://maven.apache.org/plugins/maven-surefire-plugin/
adn http://maven.apache.org/plugins/maven-surefire-report-plugin/ for
reporting.
As for screen shots, see takeScreenShot class in Selenium API:
http://selenium.googlecode.com/svn/trunk/docs/api/java/index.html?overview-summary.html
On Sunday, September 2, 2012 8:22:15 AM UTC+2, David Tishkoff wrote:
>
> Hello,
>
> I'm using Rake + RSpec + Selenium-WebDriver for the web testing, Is
> there a way to create html report with the screenshot generated on
> failure? Would really appreciate your help!
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec... at rubyforge.org <javascript:>
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20120903/f72e69f9/attachment.html>
More information about the rspec-users
mailing list