Failure Scenario - Screen Shot

14 views
Skip to first unread message

Vigneshwaran Ganesan

unread,
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

unread,
Mar 6, 2016, 2:22:05 PM3/6/16
to Geb User Mailing List, geb...@googlegroups.com
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 (https://github.com/geb/geb-example-gradle) is set up to take screen shots after every test.

Marcin

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 geb-dev+u...@googlegroups.com.
To post to this group, send email to geb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geb-dev/43e4fb8b-23ea-498e-8dca-a84150ca8250%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages