Hey Roman, Many thanks for your answer. I tried implementing the custom listener. But it was always giving me error. Now I just want to add the operating system and the browser under test to be added to the test report. If you could help me will be great.
Thanks, Dwiparna On Tue, Jan 9, 2018 at 12:49 PM, Roman Tretyak <[email protected]> wrote: > Hey, > > I'm not sure whether surefire plugin allows you to embed > screenshots/customize the report on your own, but it feels like most likely > you'll have to refrain from using it and go with something custom. > Your goals can easily be achieved with a geb-spock-reports library > <https://github.com/AOEpeople/geb-spock-reports> literally *out of the > box*. If you are having troubles with spock-reports - please provide more > details on that. But first make sure you follow all the instructions on > their github page carefully. > Given you started using spock-reports, you now have ability to implement > your own ReportCreator if required (or extend existing ones). Combined with > Geb's Custom Reporters > <http://www.gebish.org/manual/current/#reporter-configuration> and Reporting > Listeners <http://www.gebish.org/manual/current/#reporting-listener> you > have almost unlimited possibilities for reporting. > > -Roman > > пятница, 5 января 2018 г., 19:54:14 UTC+2 пользователь [email protected] > написал: >> >> Hello, >> >> I am new to Geb-spock. I 'm using GebReportingSpec for test reporting. >> Its taking screenshots and put them in a separate folder. They are not >> integrated with index.html or the testReport.html. I am using maven and >> maven-surefire-plugin >> for my project. Tried spoke-reports for custom reporting but it always >> failed to create the instance of the *TemplateReportCreator**. Even I >> can not log the test steps in my log file. Hence need to print every steps >> on the console. Its really very **important** to have a better logging >> and specially incorporate screen shots with the test report. Please help me >> out.* >> >> *Thanks,* >> > -- > You received this message because you are subscribed to a topic in the > Google Groups "Geb User Mailing List" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/geb-user/yrEtLAmlEUI/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/geb-user/42b7164d-e2db-49a1-858d-34af42a5b442%40googlegroups.com > <https://groups.google.com/d/msgid/geb-user/42b7164d-e2db-49a1-858d-34af42a5b442%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Geb User Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/geb-user/CAB6zq8Xsj%3DWg-e6JhT4J35G6AZUM658n_TRZXO8M6fqYjuBYXA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
