Create Allure Report extention Plugin


#1

I am willing to contribute Katalon Community to create a Plugin for Allure reports.
Please can some one let me know if there is any way we can use Allure Plugins API to generate Allure reports.


Custom Keywords take screenshot when failing
Can we integrate any other reporting in Katalon
#2

Hi @nirav.makwana

You should visit the source code of Basic Report:

and Sample Report plugin to see how to retrieve the execution information from Katalon Studio:

https://github.com/katalon-studio/katalon-studio-sample-report-plugin

A tutorial to how to create Katalon Studio plugin is here:

I haven’t taken a look at the Allure API yet, but hopefully you can.

Cheers !


#4

Thanks a lot @ThanhTo.
The Plugin creation worked for me and I was able to integrated the Extent Reports into Katalon.
But there is just on concern.

Is there any way I can override the verifyElementText() and other similar Verify and Assert methods that I can override and add the Extent Logging into that?

Currently I have to put If() conditions on every Verify and Assert Methods that I call for each Object for WebUI testing


#5

I believe @kazurayam can answer this. Hey Kazu is this possible with metaprogramming in Groovy ? I am not an expert on this.


#6

Yes, it is quite possible.

Please study the method pandemic in the following source.

For reference, you may want to refer to Groovy’s metaprogramming tutorial:
https://groovy-lang.org/metaprogramming.html


#7

Wow! that was a quick response.
Thanks guys :slight_smile:


#8

Hello Nirav,

Greetings!!

As per the post i see that, you were able to create extent report plugin.

But, can i know if by any chance you worked on allure with katalon ?? were able to achieve something on this ??

Am literally looking for Allure with Katalon studio. Appreciate if you could comment on this.

Thank you in Advance !!

Regards,
Arun


#9

@guny.arun
I am still working on it.
Please let me know your findings. We can collaborate on it and find some solution.


#10

I have created Extent report integration.
Just need to know how can I add folder to reports section that can be visible in Katalon Studio too.
Creating a folder manually is not visible in Katalon Studio reports section.


#11

If you create Extent reports into the <projectDir>/Reports directory, then your reports will NOT be visible as Katalon Studio intentionally hides the directory in the Tests Explorer pane. I think it is not a good idea to try reusing the Reports directory for your intention.

But Katalon Studio’s Tests Explorer pane shows any custom directories/files (except the Reports directory) in the project directory created by user. As an example, you can see the following post:

@nirav.makwana

Why not you try creating a new directory (e.g, <projectDir>/Extent) and store reports in there, then the reports will be visible in the Tests Explorer of the Katalon Studio’s GUI.


#12

I have integrated with ReportPortal(Using Listeners- You can see the example in community), which is absolutely better than allure(Enterprise Level)


#13

Hi Arun,

Have you implemented the Extent report for Test suite Collection for Report Summary?

I am currently looking for the consolidated report for Test Suite Collection. In my project, we are trying to get the consolidated report for parallel execution using test suite collection.


#14

Hi is there any update on this please ? like any plugin anything we can integrate for extent report or Allure report please.


#15

I have given up on Allure report integration.

I am looking forward and working on Extent report generation.


#16

sure if we are able to integrate extent report it also great because traditional reporting plugin not very good in html reporting


#17

Hi Naveen,

I have Used ReportPortal. That looks good !!