Hi teacher. Thank you so much for your help. I had problems with your process, but it encouraged me to look for the solution. I was able to configure the extent report in my project, and it can currently add screenshots as well. You are the best. If anyone need the configuration with JUnit, my project works perfectly, and it's public as well. He who does not live to serve, does not deserve to live. Mother Teresa of Calculta. Greetings from Colombia.
Hi saravanan thank you for the video but i am facing one issue in screen shot attached.. When there are multiple scenario are failed latest screen shot is getting attached to all the failed scenario in the report... Please help on this thanks
Hello great explanation, But When I checked your shared code , there is no TestNG runner file. Can you please add the code code which is referred in the video. I’m explicitly looking for cucumber + TestNG + Extent Report combination
Hello Sir I am using rerun functionality along with cucumber framework.when I see extent report recent results(after rerun) are not updated in the spark report.are there any way to combine and generate single report ?
@@SaravananSeenivasan ohh ok Sir.are there any ways to create a sinple dashboard from json files?.I am using Cucumber framework and jvm report are getting generated. My higher management asking to display dashboard in generated mail with no of TC passed , failed and result.... any suggestions?
Hi Seenivasan, i have tried all steps but after test run it is not creating any report and not creating Selenix-spark or selenix-logger folder. Any Suggentions I Made some changes now report is generated but Screenshot is not attcahed in the report
Hello Sir Am using extentreports-cucumber7-adapter but getting IIegalArgumentExceptiontest name must not be null .can you pless3 let me know what needs to be dine
Hi Balaji, can you configure like this in extent.properties file and check extent.reporter.spark.out=test-output/SparkReport/ screenshot.dir=test-output/ screenshot.rel.path=../ basefolder.name=reports basefolder.datetimepattern=d-MMM-YY HH-mm-ss
@@SaravananSeenivasan Hi Saravanan-Thanks for sharing this video, it's really helpful.. I tried using basefolder.name & datetimepattern but it didn't generate report with timestamp. I still see it with index.xml..Any guidance on this will be really helpful.
I solved this by changing the version of extentreports-cucumber5-adapter to 1.5.1.. I have one more query.. How can I attach screenshot to the html report?
@@SaravananSeenivasan thanks.. Screenshot got attached.. I could successfully generate reports for some time.. Now I am getting a new error.. java.io.FileNotFoundException:\test-output\HtmlReport (Access is Denied)
Hi, very helpful information that you. I have one doubt related to logger report. Trying to generate logger report with jUnit but it’s not working. Any suggestion for this. Thanks, Anup
Hi Saravanan, Thanks for the video ....have two questions 1.can we customize the extent HTML report and I would like to add the time taken to run each scenario in the tag view along with the time stamp, test name, and status? 2. also is there a way to store all the previously generated reports instead of overriding the report each time we run the tests?
@@SaravananSeenivasan this is what I defined in the extent.properties how to add a timestamp to the advanced-reports folder? extent.reporter.html.start=true extent.reporter.html.config= extent.reporter.html.out=target/cucumber-reports/advanced-reports/extent.html
@@SaravananSeenivasan bro, how can I get step by step results, I mean I have a BDD step as ‘give user can login in to insurance portal with valid un and pw’ It contains multiple actions like sending UN, PW and click on login button. If I want to see report for this all how can I configure
@@Someone_2923 make sure your io.cucumber dependencies in - 5.7.0 and extentreports-cucumber5-adapter - 1.3.2 and you don need extent report dependency this is best combination i ever tried if your dependencies not in sync you will get these errors
Hi, Great explanation. It's working. I am just concerned about the version of cucumber version 5.7.1 you are using. The latest version is 6.9.1. Can I upgrade to use the latest version?. There is a new version for Extent reports cucumber adapter. It's version 6. Do you think we can use these combination?. One more question : Can we execute the runner class from command line?. I am using Gradle project.
Hi teacher. Thank you so much for your help. I had problems with your process, but it encouraged me to look for the solution. I was able to configure the extent report in my project, and it can currently add screenshots as well. You are the best. If anyone need the configuration with JUnit, my project works perfectly, and it's public as well. He who does not live to serve, does not deserve to live. Mother Teresa of Calculta. Greetings from Colombia.
Thank you sir
please share your work here
that helps others 🙏
@@SaravananSeenivasan I don't know why the system doesn't let paste the link of my repository here. The system deletes it.
Hi Saravanan , Randomly I have seen a viewed a video .. very simple easy examples ...good and easy to gain knowledge 👍
Thanks Sri Krishna 🙏🏻
Clear explanation...thanks for the video👍
Thanks for the feedback Thiagaraja 🙏🏻
Hi saravanan thank you for the video but i am facing one issue in screen shot attached.. When there are multiple scenario are failed latest screen shot is getting attached to all the failed scenario in the report... Please help on this thanks
Hello great explanation, But When I checked your shared code , there is no TestNG runner file.
Can you please add the code code which is referred in the video.
I’m explicitly looking for cucumber + TestNG + Extent Report combination
Hello Sir
I am using rerun functionality along with cucumber framework.when I see extent report recent results(after rerun) are not updated in the spark report.are there any way to combine and generate single report ?
Hi
I don't think so
you can generate as 2 different report and share
@@SaravananSeenivasan ohh ok Sir.are there any ways to create a sinple dashboard from json files?.I am using Cucumber framework and jvm report are getting generated. My higher management asking to display dashboard in generated mail with no of TC passed , failed and result.... any suggestions?
Hi Saravanan, explanation was very clear. I request you to make a video on extent 5 including screen shots in the report.
sure will make it
thanks for watching
Hi Seenivasan, i have tried all steps but after test run it is not creating any report and not creating Selenix-spark or selenix-logger folder. Any Suggentions
I Made some changes now report is generated but Screenshot is not attcahed in the report
Wow what great explanation.
Thank You
Getting runtime cucumber exception as unrecognized plugin....is the src/test/resources folder, default location for extent.properties file?
yes src/test/resources is path
what error you are getting ?
@@SaravananSeenivasan cucumber.runtime.CucumberException: Unrecognized plugin: com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:
@@tarunsahoo2852 make sure you have added the right dependency versions
Hello Sir
Am using extentreports-cucumber7-adapter but getting IIegalArgumentExceptiontest name must not be null .can you pless3 let me know what needs to be dine
which version of cucumber dependency have you used
make sure io.cucumber also in sync with extentreport-cucumber7-adapter
Hi Sir, how can i avoid overriding my old reports?
How to append timestamp with report file name? Please reply
Hi Balaji,
can you configure like this in extent.properties file and check
extent.reporter.spark.out=test-output/SparkReport/
screenshot.dir=test-output/
screenshot.rel.path=../
basefolder.name=reports
basefolder.datetimepattern=d-MMM-YY HH-mm-ss
It works sir.. Thank you so much for the solution and immediate reply 🙏🙏
@@Someone_2923 It's ok no problem
thank you 👍🏻
@@SaravananSeenivasan Hi Saravanan-Thanks for sharing this video, it's really helpful.. I tried using basefolder.name & datetimepattern but it didn't generate report with timestamp. I still see it with index.xml..Any guidance on this will be really helpful.
I am able to generate only spark report.. When I am keeping spark and logger false. No reports are generated
you able to generate a spark when you kept as FALSE ?
No.. Only spark report is getting generated only if I keep all three true.. Or only spark.start=true and rest 2 false
I solved this by changing the version of extentreports-cucumber5-adapter to 1.5.1.. I have one more query.. How can I attach screenshot to the html report?
@@subh1505 did you add screenshot path in properties file ?
if you add screenshot path then it will be attached
@@SaravananSeenivasan thanks.. Screenshot got attached.. I could successfully generate reports for some time.. Now I am getting a new error.. java.io.FileNotFoundException:\test-output\HtmlReport (Access is Denied)
Hi Saravana,
What is contents in extent-reports.xml file?
is it blank? or any data in xml file?
hi, it has some data
Hi, very helpful information that you.
I have one doubt related to logger report.
Trying to generate logger report with jUnit but it’s not working.
Any suggestion for this.
Thanks,
Anup
Thanks for the feedback, are you using cucumber with junit or only junit ?
if its only junit then you cannnot use this report
Hi Saravanan, Thanks for the video ....have two questions
1.can we customize the extent HTML report and I would like to add the time taken to run each scenario in the tag view along with the time stamp, test name, and status?
2. also is there a way to store all the previously generated reports instead of overriding the report each time we run the tests?
yes please refer extent report website for all configurations
use time stamp folder for each report that's where you can save all the reports
@@SaravananSeenivasan this is what I defined in the extent.properties how to add a timestamp to the advanced-reports folder?
extent.reporter.html.start=true
extent.reporter.html.config=
extent.reporter.html.out=target/cucumber-reports/advanced-reports/extent.html
Hi Saravanan, thank you very much for the video. In the github, i'm not seeing the TestNG related files, can you please add
Thank You Barath I ll add and update here 👍🏻
I followed the exact steps but no report is generated.Can you plz help me@SaravananSeenivasan?
drop me email qalearntogether@gmail.com
Nuvu Super bro
Thanks, bro 😇
@@SaravananSeenivasan bro, how can I get step by step results, I mean I have a BDD step as ‘give user can login in to insurance portal with valid un and pw’
It contains multiple actions like sending UN, PW and click on login button. If I want to see report for this all how can I configure
Thanks for the video...
But I am facing "The 3rd party plugin must implement io.cucumber.plugin.Plugin" error... Any idea to resolve it?
Please reply
can you confirm the cucumber and extent report adapter dependencies versions?
@@SaravananSeenivasan I am using cucumber-testng 6.8.1, extent reports 5.0.4 and cucumber5 adapter 2.0.0
@@Someone_2923 make sure your io.cucumber dependencies in - 5.7.0
and extentreports-cucumber5-adapter - 1.3.2 and you don need extent report dependency
this is best combination i ever tried if your dependencies not in sync you will get these errors
@@SaravananSeenivasan Thanks for the reply. I will try
@@Someone_2923 please find the code in this link - github.com/sseenivasan89/Cucumber-ExtentReport4
Hi saravan pls share the git hub link if u have ! Please
please find the git repo - github.com/sseenivasan89/Cucumber-ExtentReport4
Hi, Great explanation. It's working. I am just concerned about the version of cucumber version 5.7.1 you are using. The latest version is 6.9.1. Can I upgrade to use the latest version?. There is a new version for Extent reports cucumber adapter. It's version 6. Do you think we can use these combination?.
One more question : Can we execute the runner class from command line?. I am using Gradle project.
Yes you can try, it will work definitely