PART 4 - Generate Spark Extent HTML and PDF Report with Cucumber 6.x & Selenium - Framework

แชร์
ฝัง
  • เผยแพร่เมื่อ 23 ม.ค. 2025

ความคิดเห็น • 246

  • @naveenautomationlabs
    @naveenautomationlabs  2 ปีที่แล้ว +2

    Cucumber Repo URL : github.com/naveenanimation20/LatestCucumber6WithPOM

  • @ahmettemel8245
    @ahmettemel8245 2 ปีที่แล้ว

    thank you

  • @mahendratawade606
    @mahendratawade606 2 ปีที่แล้ว

    Can we customize this repot

  • @gowsvardhan
    @gowsvardhan 9 หลายเดือนก่อน

    from where we need to copy the properties content and xml content and plugin line of the report?

  • @aayushkhandelwal3522
    @aayushkhandelwal3522 2 ปีที่แล้ว +1

    In My case it is not generating any test-output folder and not showing any error. Any one can help me.......??

    • @aayushkhandelwal3522
      @aayushkhandelwal3522 2 ปีที่แล้ว

      This is resolved now actually we have to store the extent.properties and extent-config.xml in resources folder after that it will generate the extent report

  • @soumyade7132
    @soumyade7132 ปีที่แล้ว

    naveen can we take screenshot for failed testcase?

  • @samdical1114
    @samdical1114 ปีที่แล้ว

    Hello sir , i tried to execute but extent reports not generated

  • @ramanujama4130
    @ramanujama4130 14 วันที่ผ่านมา

    Great explanation.
    I have one doubt
    Whenever I am executing new test case older report was override .
    Can u guide me how to avoide report override problem

  • @kushalmandal
    @kushalmandal 2 ปีที่แล้ว

    how to add custom text in spark report

  • @relaxmusic1011
    @relaxmusic1011 2 ปีที่แล้ว

    Hi while running via command line these reports were not generated please help

  • @Shw1205
    @Shw1205 2 ปีที่แล้ว

    How to add runtime system info in report??
    Extent.setsysteminfo is not working

  • @Od3o_ela_sabil_rabek
    @Od3o_ela_sabil_rabek 2 ปีที่แล้ว

    Where I can get this code?

  • @archanaregu8920
    @archanaregu8920 5 หลายเดือนก่อน

    I followed this video but I didnt get "text output",pdf file .Did I miss any dependency

  • @usufr1
    @usufr1 2 ปีที่แล้ว

    @Naveen
    The html report is generating but the pdf report is not generating at all
    Please help me

  • @rubinasali3256
    @rubinasali3256 ปีที่แล้ว

    from where can i get extent-config.xml code?

  • @msta8209
    @msta8209 6 หลายเดือนก่อน

    Thankyou sir but ,There is no extentconfig xml file available on your git repository , sir can you please check once again

    • @msta8209
      @msta8209 6 หลายเดือนก่อน

      My bad i got it thanks 🙂

  • @karunamoorthyramakrishnan2083
    @karunamoorthyramakrishnan2083 2 ปีที่แล้ว

    reallyyyyyyyyyyyyyyyyyy nice

  • @aravindkumar5663
    @aravindkumar5663 9 หลายเดือนก่อน

    Hello sir, code running successfully after following the steps properly with correct path as well but unable to generate report, I did refresh the project, rebuild project, mvn clean as well but no report is generating. I tried with cucumber6 and cucumber7 too
    please help me out to generate report

  • @mayurpatil-lz1ou
    @mayurpatil-lz1ou 2 ปีที่แล้ว

    @Naveen automation please help me to generate the screenshots in the test-output folder screenshot is not showing after refreshing the project

  • @lipsapatnaik5136
    @lipsapatnaik5136 10 หลายเดือนก่อน

    It didn't generate reports in my case

  • @kalyanigandla-m9y
    @kalyanigandla-m9y 8 หลายเดือนก่อน

    i did not get pdf report

  • @dishujamdagni859
    @dishujamdagni859 ปีที่แล้ว

    is this spark pdf report achievable for testng as well?

  • @priyankaarugonda853
    @priyankaarugonda853 ปีที่แล้ว

    Hey naveen or any one from this chat.where can I get the extent-config.xml and other files.
    Can you please share here or else any github do I need to navigate

    • @naveenautomationlabs
      @naveenautomationlabs  ปีที่แล้ว

      github.com/naveenanimation20/LatestCucumber6WithPOM/blob/master/src/test/resources/extent-config.xml

  • @leelaprasad4577
    @leelaprasad4577 3 ปีที่แล้ว

    can anyone help me in getting get repository URL as mentioned by naveen?

  • @vipin007ize
    @vipin007ize 2 ปีที่แล้ว

    I'm getting cucumberException: NoclassDefFoundError.. What to do?

  • @kiranmore-z6h
    @kiranmore-z6h ปีที่แล้ว

    Hello Naveen, can you send the pom.xml file. I am having existing framework. After adding dependency I am getting error in pom.xml

  • @prathibasankar1829
    @prathibasankar1829 11 หลายเดือนก่อน

    Hi Naveen I implemented this report in my office and executives love PDF report.🎉🎉. In PDF report, the title says cucumber report. Can we change it ?

  • @HemaSravan
    @HemaSravan 2 ปีที่แล้ว

    Hi I could able to generate the extent report but screenshots for the failed cases were not adding. Could you please help?

  • @swagatikarath3190
    @swagatikarath3190 2 ปีที่แล้ว

    can we add logs to this extent report??

  • @automation9205
    @automation9205 2 ปีที่แล้ว

    Can we get the browser name and OS name in these Extent Reports?

  • @ashwinisalvi3943
    @ashwinisalvi3943 3 ปีที่แล้ว +1

    Hi Naveen , i followed the steps mentioned in the video but for me test-output folder is not getting generated. Could you please help here

    • @vaibhavgawande5503
      @vaibhavgawande5503 3 ปีที่แล้ว +1

      Use // in the Path of your extent-config. XMl file Example:
      src//test//resources//extent-config.xml
      And Your Issue Will be Solved

    • @EnteKadhaTales
      @EnteKadhaTales 11 หลายเดือนก่อน

      @@vaibhavgawande5503 for me html is created but pdf is not getting created. Could you please help me on this. Using cucumber junit. Did all the config as mentioned in the git. Could you please help me on the same

  • @mayurpatil-lz1ou
    @mayurpatil-lz1ou 2 ปีที่แล้ว

    @naveen_hc1902b please guide me on how to add the screenshots in the test output folder when generating the extent spark reporter, I followed your video on youtube but screenshots are not generating under the test output folder

  • @pagidivamsikrishna3809
    @pagidivamsikrishna3809 ปีที่แล้ว

    Hi Naveen, May i know how to enable offline mode of extent report. We are working in a environment where internet is disabled, so we are not able to see proper report.

  • @madhusudhanreddy5320
    @madhusudhanreddy5320 ปีที่แล้ว

    Hi Naveen either HTML or PDF report doesnt generate when we run using maven cmd like mvn clean test

  • @RavindraKalla-zs1jj
    @RavindraKalla-zs1jj 9 หลายเดือนก่อน

    Dear Naveen, I am using the extent reports in a cucumber framework and was able to generate the pdf and the extent spark html report using the above directions but had not placed the config file as specified. I ram my runner and the reports both html and pdf were generated without placing the config file. Thought of letting you know and perhaps you could also guide me if it is the correct approach

  • @subhuvijay41
    @subhuvijay41 4 ปีที่แล้ว +1

    My framework having the testng and cucumber scripts. How can I handle both the things with extent report? Kindly suggest

    • @naveenautomationlabs
      @naveenautomationlabs  4 ปีที่แล้ว +3

      I'll publish separate video with testNG

    • @subhuvijay41
      @subhuvijay41 4 ปีที่แล้ว

      @@naveenautomationlabs thank you so much

    • @deepakratan6676
      @deepakratan6676 2 ปีที่แล้ว

      @@naveenautomationlabs Is this published? If yes could you please share the video

  • @tapaskhandai
    @tapaskhandai ปีที่แล้ว

    Hi Naveen, Where I will find this extent-config.xml file?

  • @mdjoynalabedin802
    @mdjoynalabedin802 4 ปีที่แล้ว +1

    It's giving me this error "Unrecognized plugin: com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:"

    • @beedyb220
      @beedyb220 4 ปีที่แล้ว

      I am getting the same error. cucumber.runtime.CucumberException: Unrecognized plugin: com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:

    • @mdjoynalabedin802
      @mdjoynalabedin802 4 ปีที่แล้ว

      @@beedyb220 I figured out that it's the dependency issue. Though I run my project through testing. You can try with this.
      UTF-8
      1.8
      4.13.1
      6.9.0
      3.8.1
      2.22.2




      io.cucumber
      cucumber-java
      6.9.1


      io.cucumber
      cucumber-junit
      ${cucumber.version}
      test


      junit
      junit
      ${junit.version}
      test


      org.seleniumhq.selenium
      selenium-java
      3.141.59


      io.github.bonigarcia
      webdrivermanager
      4.2.2


      tech.grasshopper
      extentreports-cucumber6-adapter
      2.6.0
      test



      org.testng
      testng
      7.1.0
      test



      io.cucumber
      cucumber-testng
      6.9.1





      org.apache.maven.plugins
      maven-compiler-plugin
      ${maven.compiler.version}

      UTF-8
      ${java.version}
      ${java.version}



      org.apache.maven.plugins
      maven-surefire-plugin
      ${maven.surefire.version}

  • @socialmedia434
    @socialmedia434 4 ปีที่แล้ว +3

    @ Naveen AutomationLabs Hi i have watched this video twice n followed all your instructions, but still the test-output folder is not created for me. Can you please tell me what i could have missed? There is no error as well

    • @prasanthalex6514
      @prasanthalex6514 4 ปีที่แล้ว +2

      I've the same issue, anyone help?

    • @socialmedia434
      @socialmedia434 4 ปีที่แล้ว +1

      @@prasanthalex6514 Hi Prashanth, my issue got resolved. The mistake i made was , i placed the extent.properties and extent-config.xml files in the src/test/resources/config folder , which is wrong. I should have placed it in src/test/resources. Check if you placed the files under the right folders.Let me know if this helped.

    • @prasanthalex6514
      @prasanthalex6514 4 ปีที่แล้ว

      Hi, I had placed my xml and properties under resources folder only. Which are the dependencies added in POM.xml and version? Could you pls help.. the test-output folder itself not getting generated.

    • @socialmedia434
      @socialmedia434 4 ปีที่แล้ว

      @@prasanthalex6514 if you follow everything that Naveen has mentioned in the video ,it should work fine. Use the same versions Naveen has used .Download his project from the git repository he has mentioned

    • @prasanthalex6514
      @prasanthalex6514 4 ปีที่แล้ว

      @@socialmedia434 Could you please give the git link?

  • @rajendramahapatra3293
    @rajendramahapatra3293 4 ปีที่แล้ว +1

    Where did you find what to be written in extent.properties and extent-config.xml files?

    • @shashibhushanv6301
      @shashibhushanv6301 4 ปีที่แล้ว

      Naveen has committed his code today morning into his github repo, please check.

    • @rajendramahapatra3293
      @rajendramahapatra3293 4 ปีที่แล้ว

      @@shashibhushanv6301 GitHub is not accessible in some of the client locations due to security concerns. That’s why I asked this question. Is there any official website where can we find what to be written in extent.properties and extent-config.xml?

    • @shashibhushanv6301
      @shashibhushanv6301 4 ปีที่แล้ว +2

      @@rajendramahapatra3293
      for extent.properties ...
      extent.reporter.spark.start=true
      extent.reporter.spark.out=test-output/SparkReport/Spark.html
      extent.reporter.spark.config=src/test/resources/extent-config.xml
      extent.reporter.spark.out=test-output/SparkReport/
      screenshot.dir=test-output/
      screenshot.rel.path=../
      extent.reporter.pdf.start=true
      extent.reporter.pdf.out=test output/PdfReport/ExtentPdf.pdf
      #basefolder.name=reports
      #basefolder.datetimepattern=d-MMM-YY HH-mm-ss
      extent.reporter.spark.vieworder=dashboard,test,category,exception,author,device,log
      systeminfo.os=Windows
      systeminfo.user=Tester
      systeminfo.build=1.1
      systeminfo.AppName=AutomationPractice

    • @shashibhushanv6301
      @shashibhushanv6301 4 ปีที่แล้ว +4

      @@rajendramahapatra3293
      for extent-config.xml



      dark


      UTF-8


      http

      Demo Web Shop

      Demo Web Shop - Automation Test Report


      bottom

    • @baan1221
      @baan1221 3 ปีที่แล้ว

      @@shashibhushanv6301 Thanks alot, i was just looking for these files.

  • @anitapadhy857
    @anitapadhy857 3 ปีที่แล้ว +1

    The moment I add "extentreports-cucumber6-adapter" dependency in pom.xml , I am getting "Missing artifact com.github.ralfstuckert.pdfbox-layout:pdfbox2-layout:jar:1.0.0" error in pom. Is anyone facing this issue? If you have the solution please share.

    • @shreevlogs8853
      @shreevlogs8853 3 ปีที่แล้ว

      If you're not using pdf, you can do this
      tech.grasshopper
      extentreports-cucumber6-adapter
      2.6.0

      com.github.ralfstuckert.pdfbox-layout
      pdfbox2-layout

  • @vinayrao9067
    @vinayrao9067 2 ปีที่แล้ว

    I try the same thing, but when i run my test runner file it gives error and this error is due to add "com.aventstack.exetent......"adapter in plugin in test runner file , when i comment this line my code works fine

  • @deepakratan6676
    @deepakratan6676 2 ปีที่แล้ว

    My project in the TestNG framework and my requirement is need to create a test report with PDF format. Whether this code get been adopted? or do you have any other possibility to create a report in the PDF format using TestNG framework?

    • @deepakratan6676
      @deepakratan6676 2 ปีที่แล้ว

      @Naveen AutomationLabs - Could you please provide your feedback

  • @jyotijadhav5683
    @jyotijadhav5683 3 ปีที่แล้ว

    Can we add screenshot in pdf as well. If yes then can you please guid how we van do that

    • @grasshopper2494
      @grasshopper2494 3 ปีที่แล้ว

      It is possible to add screenshots. Use the latest version 2.8.2. For more details refer to grasshopper.tech/2098/ and grasshopper.tech/2224/

  • @boddapatirajesh969
    @boddapatirajesh969 ปีที่แล้ว

    Hi Naveen, can i get the git repository link for the code which was used in this video.
    Particularly i need .xml code

  • @chintalabalasubramanyam7042
    @chintalabalasubramanyam7042 4 ปีที่แล้ว +1

    Is it available for python with selenium?

  • @mrudulavelamuri5323
    @mrudulavelamuri5323 3 ปีที่แล้ว

    Can u please help me how to add api logs req n res to cucumber 6 extent spark report using cucumber 6 adapter

  • @yforyou1342
    @yforyou1342 3 ปีที่แล้ว

    Sir can we customize our log , pdf, html report names with latest time stamps. if yes plz help on this.

  • @PawanRajbhar-d2o
    @PawanRajbhar-d2o 9 หลายเดือนก่อน

    hello naveen thanks for such informative content i have doubt can it possible to generate html report with time stamp because when i run re run the test previous report is override can you please let me know is it possible to generate unique html report name with extent.properties. if yes please reply me i search all over youTube but i didn't get any videos related to this.

  • @hiteshdarji9925
    @hiteshdarji9925 3 ปีที่แล้ว

    Hello Naveen,
    while i am doing same as you for get report, I am facing error like initialization error. I am not getting why i am facing this error. Can you please help me on this

  • @tejesdas2822
    @tejesdas2822 3 ปีที่แล้ว

    Hi Naveen ... I'm not able to find extent.properties and extent-config.xml codes ... can u please help me to get those

  • @AmitPal-vu1ft
    @AmitPal-vu1ft 2 ปีที่แล้ว

    Hi Naveen ,
    java.lang.AbstractMethodError: Receiver class io.cucumber.testng.TestNGCucumberOptionsProvider$TestNGCucumberOptions does not define or inherit an implementation of the resolved method 'abstract boolean strict()' of interface io.cucumber.core.options.CucumberOptionsAnnotationParser$CucumberOptions. can anyone please help to resolve this error

  • @kpplaylist
    @kpplaylist 3 ปีที่แล้ว

    Is there anyway to edit the Document Title and report title at runtime? I cant seem to grab the reporter in my stepdefinitions to set the config.

  • @sabawoonyuonus6242
    @sabawoonyuonus6242 11 หลายเดือนก่อน +1

    Thank you so much for this video! YOUR clear explanation of the extent spark report and PDF report for Cucumber BDD has truly helped me understand the concepts better. Your content is always so informative and well-presented. Keep up the great work sir!

  • @CricMedia-w5n
    @CricMedia-w5n 3 ปีที่แล้ว

    Hi Naveen, I have tried that report url in another system but i can't able access the report, it's not open there is any idea please share because I need send the report to another person

  • @krishna-bn3ul
    @krishna-bn3ul 3 ปีที่แล้ว

    I added the extent properties and config xml but testout folder is not generated , not sure what iam missing

  • @geethapandu
    @geethapandu 3 ปีที่แล้ว

    Hi Naveen, could you please share the git repo of extent report ?

  • @jitendrasawant3872
    @jitendrasawant3872 3 ปีที่แล้ว +1

    Hi Naveen Thank you for your Help and video, I got error in POM after adding grasshopper adapter and i don't no how to solve plz help me and error is "Missing artifact com.github.ralfstuckert.pdfbox-layout:pdfbox2-layout:jar:1.0.0" any one plz help me in this.

    • @shreevlogs8853
      @shreevlogs8853 3 ปีที่แล้ว

      This worked for me, if you're not using pdf, you can do this
      tech.grasshopper
      extentreports-cucumber6-adapter
      2.6.0

      com.github.ralfstuckert.pdfbox-layout
      pdfbox2-layout

  • @CricMedia-w5n
    @CricMedia-w5n 3 ปีที่แล้ว

    Hello, Naveen, How to change the report name for each execution it will override the the existing report.

  • @ankitlodha4501
    @ankitlodha4501 3 ปีที่แล้ว +1

    Hi,
    Can you please provide github url for this project

  • @shilpagoel1118
    @shilpagoel1118 3 ปีที่แล้ว

    Hello sir, can we change the heading of pdf report in replace of "cucumber"

  • @sumeshm23
    @sumeshm23 4 ปีที่แล้ว

    How can we write a testrunner in such way that can be run by either junit or testng

  • @manishkannamoney7455
    @manishkannamoney7455 ปีที่แล้ว

    Nice! Bur If you share completed code would be superb. I hope you will upload

  • @KapilKumar-dt2jf
    @KapilKumar-dt2jf 3 ปีที่แล้ว

    Hi Naveen, please share the code and configuration for this video. I am getting runtime error on plugin in test runner file

  • @sumeshm23
    @sumeshm23 4 ปีที่แล้ว

    Naveen need ur help wen i run the project through maven i m not able to generate report getting pdfboxlayout issue

    • @santhoshnidamanuri5864
      @santhoshnidamanuri5864 3 ปีที่แล้ว

      If you're not using pdf, you can use below dependency , you will not get that error

      tech.grasshopper
      extentreports-cucumber6-adapter
      2.6.0


      com.github.ralfstuckert.pdfbox-layout
      pdfbox2-layout

  • @baan1221
    @baan1221 3 ปีที่แล้ว

    Hi, can anyone give the giturl of the extent-config.xml pls. i could not find it .

  • @suchibatheja9813
    @suchibatheja9813 3 วันที่ผ่านมา

    Hi

  • @sureshsubramaniyan3201
    @sureshsubramaniyan3201 3 ปีที่แล้ว +1

    hi all, if anyone has extent reports.properties file and extent-config.xml file, please share with me OR share the gitRepository link

  • @pavithrasathyanarayanan4618
    @pavithrasathyanarayanan4618 ปีที่แล้ว

    HI naveen, io.cucumber.core.exception.CucumberException: java.lang.NoSuchFieldError: VERSION_2_3_30 getting following error on trying to run the tcs, can you please look into it
    Added latest version of extentreports-cucumber7-adapter and cucumber in pom.xml file.

  • @kaz-ittraininghub9388
    @kaz-ittraininghub9388 3 ปีที่แล้ว

    Hi Naveen,
    I followed your video. I am able to generate the spark.pdf and spark.html file. but for the error screen shot is added into the file. could you please explain why it is not added into the html file.
    and setting or additional code you have for screenshot and attached into the file.

    • @grasshopper2494
      @grasshopper2494 3 ปีที่แล้ว

      Most probably u need to check the screenshot.dir and screenshot.rel.path settings.

  • @anbalaganramu8454
    @anbalaganramu8454 8 หลายเดือนก่อน

    Well explained. Super useful. Thanks Bro. Keep doing...

  • @dineshreddy9237
    @dineshreddy9237 2 ปีที่แล้ว

    Hi Naveen, this is dinesh. I have made same configurations as you did but output results file is not displaying even though after refreshing the project

  • @junnamma4750
    @junnamma4750 2 ปีที่แล้ว

    Very nice, can you please share this code any link?

  • @madhurnagpal1
    @madhurnagpal1 2 ปีที่แล้ว

    Hi Naveen,
    I have a springboot framework and using Scenario Outlines all over and using Cucumber5 adapter of grasshopper.
    Issue - Only the folder is getting created in test-output, but the html file is not getting generated.
    Could you please help.
    I saw your video is with Cucumber6, but when I try to upgrade my dependencies to 6, I am getting a lot of compile time errors. So upgrade is not possible since its a huge project.

  • @bilalchoudhary3319
    @bilalchoudhary3319 4 ปีที่แล้ว

    How to Get an Access for Git Repository for this session?

  • @elavarasiperumal1091
    @elavarasiperumal1091 ปีที่แล้ว +1

    Never thought I would get all reports at first try, thanks sir

  • @srikanthyeluri8669
    @srikanthyeluri8669 3 ปีที่แล้ว

    Hi Sir, Once i added the dependency i am getting the below error in the POM.xml file,
    Kindly assist.
    Missing artifact com.github.ralfstuckert.pdfbox-layout:pdfbox2-layout:jar:1.0.0

    • @anchaltiwari6909
      @anchaltiwari6909 3 ปีที่แล้ว

      How did you resolve this, I am getting similar issue.

  • @amitsaxena1797
    @amitsaxena1797 3 ปีที่แล้ว

    thanks for detailed explanation, but I am not able to get screenshot

  • @workationindia3363
    @workationindia3363 2 ปีที่แล้ว

    Hello Sir could you please explain how to archive these reports?

  • @jaishankardevaraj7535
    @jaishankardevaraj7535 3 ปีที่แล้ว

    Hi naveen..it is possible to add text file or excel file path to extent report..Kindly advice on this..

  • @Swarno2004
    @Swarno2004 4 ปีที่แล้ว

    Through jenkins when I triggered the cucumber testcases and sending mail using editable email notifications plugin that time screenshot are not getting attach with the Extent html report, can you please advice what change need to make

  • @renjithakshan
    @renjithakshan 2 ปีที่แล้ว

    Hi Naveen, do we have similar plugins to convert extentreport to PDF for selenium? Thanks

  • @sasireka7974
    @sasireka7974 4 ปีที่แล้ว

    How to explain bdd cucumber framework explain folder structure

  • @sauravpattnaik6558
    @sauravpattnaik6558 3 ปีที่แล้ว

    Hi Naveen
    I am getting exception while flusing the extent report(Version using 4.0.9 ExtentSparkerReporter)
    freemakre.template.TemplateNotFoundException:template not found for name "spark/test/ftl"
    This was interpreted by this TemplateLoader: [freemarker.cache.ClassTemplateLoader.toString() failed: java.lang.NoClassDefFoundError: freemarker/cache/TemplateLoaderUtils]
    Can you send me the solution/fix for this, I am not at all getting the relation between freemarker and extentreport

  • @ahmedabdelhakem6846
    @ahmedabdelhakem6846 ปีที่แล้ว

    Very good Explanation thanks for that but i'd like to add a question " I have cucumber code and done as you said but also I have a testng file which is running 3 Tests which will run cucumber runner Scenario and each test has different browser as a parameter and I want to get the report file for all of the parallel tests run with different names I hope you got my problem ===== I will tell u now the Actual thing happened with me. it succeeded on getting all scenarios with Tests names but my problem is the 3 TEsts has the same name so I will not differentiate between them using the browser parameter so if any thing failed I will not understand from report from which Test it is failing and I will need to check the logs the other thing that each scenario if I make Data provider it will be with the same name also I will not so I wanted to make the dataprovider value next to the scenario name to differentiate between the scenarios

  • @soundarpandian755
    @soundarpandian755 3 ปีที่แล้ว

    HI Naveen, Could you please provide details whether we can able create a spark report with datetime format.As of now the reports are overriding with old one.

    • @pravsow
      @pravsow 6 หลายเดือนก่อน

      I think if you save your reports in a different folder other than “target”, then old one will not be overrided

  • @Ram-on9jx
    @Ram-on9jx 3 ปีที่แล้ว

    Is extent report is possible only in Cucumber-TestNg dependency or it is possible in Cucumber-Junit Dependency

  • @shwetasharda9520
    @shwetasharda9520 2 ปีที่แล้ว

    Thanks for nice video. Any video for using Extent Spark report with Rest Assure Cucumber combination to log all URI, Request, Response details also.

  • @ashokwaghela5200
    @ashokwaghela5200 3 ปีที่แล้ว

    Hi Naveen,
    How can we generate PDF report in TestNG.?
    I am using TestNG framework.

  • @shubhamtayal4754
    @shubhamtayal4754 3 ปีที่แล้ว

    Hi Naveen
    Thanks for he amazing video.
    Just had one question. In the test Runner file while adding the adapter in the plugin I am getting the initialization error for the Plugin:
    java.lang.IllegalArgumentException: The plugin specification 'com.avenstack.extentreports.cucumber.adapter.ExtentCucumberAdapter:' has a problem:
    Could not load plugin class 'com.avenstack.extentreports.cucumber.adapter.ExtentCucumberAdapter'.
    Plugin specifications should have the format of PLUGIN[:[PATH|[URI [OPTIONS]]]
    I have provided the plugin in the same way you have demonstrated in the video. Pls suggest what could be the issue?

    • @testuser8295
      @testuser8295 3 ปีที่แล้ว

      even i am also got the same error ..is there any solution for this

    • @aayushkhandelwal3522
      @aayushkhandelwal3522 2 ปีที่แล้ว

      Have you got any solution for this I'm also facing the same issue. please reply....

  • @shirleyt2444
    @shirleyt2444 3 ปีที่แล้ว

    Generate Spark Extent HTML and PDF Report using selenium with java?

  • @manjunathrajeev2481
    @manjunathrajeev2481 3 ปีที่แล้ว

    hi naveen, great tutuorial on reports, i really like pdf report and need to implement into my project .. But pdf report is not generating in my case. Please help me out in configuring for pdf report.. I will be waiting for ur reply
    I have used same configuration adn code which u have shown in video, but its not generating pdf report
    Thank you..!

    • @ismailhaiber4434
      @ismailhaiber4434 3 ปีที่แล้ว

      Same problem here, did you find a solution ?

    • @grasshopper2494
      @grasshopper2494 3 ปีที่แล้ว

      @@ismailhaiber4434 Are u getting any error or message in the console?

    • @ismailhaiber4434
      @ismailhaiber4434 3 ปีที่แล้ว

      @@grasshopper2494 no, there is no errors in the console, just the Pdf is not generating

    • @grasshopper2494
      @grasshopper2494 3 ปีที่แล้ว

      @@ismailhaiber4434 Will have a look if u can share the relevant code repo link.

    • @ismailhaiber4434
      @ismailhaiber4434 3 ปีที่แล้ว

      @@grasshopper2494 github.com/haiberismail-cloud/EDICTestFramework.git
      Tell me if you have access to the link

  • @vijaykaushal9311
    @vijaykaushal9311 4 ปีที่แล้ว

    Hello Naveen, I have one query.. I have noticed that failed test cases screenshot is getting saved with name embedded1, embedded2 and so on, instead of being saved with actual failed scenario name. Could you please help and let us know how this can be done... Following is the logic you demonstrated in video
    public void tearDown(Scenario scenario) {
    if (scenario.isFailed()) {
    // take screenshot:
    String screenshotName = scenario.getName().replaceAll(" ", "_");
    byte[] sourcePath = ((TakesScreenshot) driver).getScreenshotAs(OutputType.BYTES);
    scenario.attach(sourcePath, "image/png", screenshotName);
    }

  • @jarvisnm9805
    @jarvisnm9805 3 ปีที่แล้ว

    I added the dependency , config and properties file.
    I am getting Initialization error after add this plugin in the runner file "com.aventstack.extentreports.cucumber.adaptor.ExtentCucumberAdapter:"
    anyone help me to solve this issue

  • @nehamalik6478
    @nehamalik6478 ปีที่แล้ว

    Hi Naveen, i followed your video. Really nice explanation.just one question: while generating screenshots I am able to generate screenshot from local but other users are not able to see the screenshots. I tried using relative path for 'addscreenshotfrompath' but it is not working. Could you please help me solve this

  • @r.j.vishnukumar5568
    @r.j.vishnukumar5568 2 ปีที่แล้ว

    Hi Naveen, The explanation is Nicely done but I didn't find the GIT url in this. so please share the Git url once again.
    Thanks.

  • @arungupta3051
    @arungupta3051 3 ปีที่แล้ว

    Thank you Naveen. I had a quick question. How can we implement logging with this spark report?

    • @grasshopper2494
      @grasshopper2494 3 ปีที่แล้ว +1

      U can use the scenario.log() method in the step definition method.

    • @kaustubhphatale
      @kaustubhphatale 3 ปีที่แล้ว +1

      @@grasshopper2494 hi, do you have any code for reference?

  • @ameyshirke3736
    @ameyshirke3736 3 ปีที่แล้ว

    Hi Naveen, your video is helpful. Please help to guide on video on grasshopper extent PDF report customization.

  • @reshmapn7941
    @reshmapn7941 3 ปีที่แล้ว +1

    Awesome explanation sir
    Thank you so much

  • @sandeepsenapati615
    @sandeepsenapati615 2 ปีที่แล้ว

    Great video Naveen Sir. But I am not able to configure this report with IRetryAnalyzer. For retried scnearios, this report is adding them as failed cases, so the numbers coming in the report is not reliable. Can somebody please guide me as to how can I configure this report along with Iretry analyzer. I am using a gradle project with cucumber and testng