Just a piecec pf code to create a screen shot:
private void takeScreenShot(RuntimeException e, String fileName) {
File screenShot = ((TakesScreenshot)
driver).getScreenshotAs(OutputType.FILE);
try {
FileUtils.copyFile(screenShot, new File(fileName + ".png"));
} catch (IOEx
You can generate HTML reports with surefire, just addd the folowing to your
POM file:
org.apache.maven.plugins
maven-site-plugin
3.1
Serguei Cambour wrote in post #1074435:
> Just a piecec pf code to create a screen shot:
>
> private void takeScreenShot(RuntimeException e, String fileName) {
>
> File screenShot = ((TakesScreenshot)
> driver).getScreenshotAs(OutputType.FILE);
>
> try {
>
> FileUtils.copyFile(scree
https://groups.google.com/forum/?fromgroups#!forum/cukes.
this link is not opening...
can u give me accurate link...
thanks
Fahim babar patel
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users