Report creation

161 views
Skip to first unread message

aparnaShyam1990

unread,
Feb 17, 2017, 12:28:35 AM2/17/17
to getgauge
Hi all,

Am planning to take a detailed report of my test execution other than the html report.

Currently not able to see the xml report as well.

So could anyone please make a suggestion to solve the problem?

apoorvam

unread,
Feb 17, 2017, 12:52:42 AM2/17/17
to getgauge
@aparnaShyam1990

Can you tell us what details are you trying to obtain from test execution other than what html-report provides?

To generate xml-report, you have to install plugin as: gauge --install xml-report and then add it to Gauge project as: gauge --add-plugin xml-report. (This will also download plugin if you do not have it installed). This will add plugin entry in your manifest.json file.

You can also have a look at json-report if you want to generate JSON style reports. 

aparnaShyam1990

unread,
Feb 17, 2017, 1:12:05 AM2/17/17
to getgauge
Hi,

I would like to get a detailed report as like Testng(Reportng) reports provides including the stack information.In Gauge report i can view only the Number of passed or failed specifications.


On Friday, February 17, 2017 at 10:58:35 AM UTC+5:30, aparnaShyam1990 wrote:

apoorvam

unread,
Feb 17, 2017, 1:38:12 AM2/17/17
to getgauge
Gauge HTML reports also show the details of each specification. You can see info like stacktrace, screenshot, error messages in case of step failures. The statistics is just a part of the reports.

You can have a look at one of our example project HTML report here: http://gauge-example-reports.herokuapp.com/ruby/specs/customer.html

Aparna R

unread,
Feb 17, 2017, 2:42:40 AM2/17/17
to getg...@googlegroups.com
Hi,
Apoorvam

Thank for sharing the link and i got the html report with full stack trace



--
You received this message because you are subscribed to a topic in the Google Groups "getgauge" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/getgauge/Qdf_WDG1dXw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to getgauge+unsubscribe@googlegroups.com.
To post to this group, send email to getg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/getgauge/148a07ba-fc96-42ab-8feb-49d2fa9deea4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks & Regards,

Aparna R

Selçuk EGELİ

unread,
Nov 18, 2017, 6:16:54 AM11/18/17
to getgauge
Hi all,

I also installed plugin xml-report but when I run tests, I can not see my xml-report anywhere in my project. Could you help for that?

17 Şubat 2017 Cuma 08:52:42 UTC+3 tarihinde apoorvam yazdı:

Srikanth V

unread,
Nov 19, 2017, 11:35:01 PM11/19/17
to getgauge
Hi,

Please check your project's manifest.json. It should have xml-report as a plugin.

If the above is true, then you can see the xml report under reports directory of your project, after you execute gauge run specs.

You should also see something like this in your console :

Sucessfully generated xml-report to => c:\Temp\tags\reports\xml-report

best
Srikanth

Srikanth V

unread,
Nov 19, 2017, 11:36:01 PM11/19/17
to getgauge
Sorry for the repost,

In case you do not have xml-report in your project's manifest.json, you can add it by running gauge install xml-report.

best
Srikanth

Selçuk EGELİ

unread,
Nov 20, 2017, 2:39:43 AM11/20/17
to getgauge
Thanks @Srikanth right now, I can see xml-report under report directory
Reply all
Reply to author
Forward
0 new messages