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
> [email protected] <javascript:>
> http://rubyforge.org/mailman/listinfo/rspec-users
>
--
You received this message because you are subscribed to the Google Groups
"rspec" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
To view this discussion on the web visit
https://groups.google.com/d/msg/rspec/-/9zixklfauYUJ.
For more options, visit https://groups.google.com/groups/opt_out.