Failure Scenario - Screen Shot

Skip to first unread message

Vigneshwaran Ganesan

Mar 3, 2016, 12:46:17 PM3/3/16
to Geb Development Mailing List
Hi Team,

Currently using Geb testing taking screenshot for all the scenario(passed and failed) and trying to take the screen shot for failure but its not working.

Geb Version - 0.10.0

Also tried by adding below line the gebconfig.groovy but its not working.

  • reportOnTestFailureOnly = true

Can you please share working example code to make it work.

Thanks & Regards,
Vigneshwaran Ganesan

Marcin Erdmann

Mar 6, 2016, 2:22:05 PM3/6/16
to Geb User Mailing List,
Hi Vigneshwaran,

You will need to be more specific about what you mean by "it's not working" for anybody to be able to help you. What are you expecting to see and what happens? Are there any stacktraces printed to the console? If so, please attach them.

With regards to your question about a working example then the example Gradle project that uses Geb ( is set up to take screen shots after every test.


P.s. I'm forwarding this message to the user group which is better suited for this type of question than the dev list you sent the message to initially which is for questions about Geb development and not usage questions. Please reply to the user group.

You received this message because you are subscribed to the Google Groups "Geb Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

Reply all
Reply to author
0 new messages