What is Extent Reports | How to generate Extent Reports Version 4 in Selenium WebDriver Java

Поділитися
Вставка
  • Опубліковано 15 вер 2024

КОМЕНТАРІ • 39

  • @supriyamude
    @supriyamude Рік тому +1

    your videos are really awesome and very helpful & extremely easy to understand, as you show the full process of coding. You must make more videos for UA-cam !!!

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  Рік тому +1

      Glad you found it helpful :)
      If you like our way of teaching, please consider taking full course on our website. You can find the discounted links in the video description.

  • @mzamomahaeng268
    @mzamomahaeng268 4 роки тому +1

    thank you so much.Easy to follow and well explained 👌👌👌👌

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +2

      Glad you found it helpful :)
      Please like and share the video and help us spread the word.

  • @jackvicky2173
    @jackvicky2173 3 роки тому +1

    Excellent Video thanks much.

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  3 роки тому +2

      Glad you liked the video :)
      Please share the video with your friends to spread the word.

    • @jackvicky2173
      @jackvicky2173 3 роки тому +1

      @@LetsKodeItOfficial sure I'll do

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  3 роки тому +2

      @@jackvicky2173 You can also checkout the description of the video for complete course details at a very affordable price.

  • @liveletlive3448
    @liveletlive3448 2 роки тому +1

    For me one problem that is I can't import ExtentHtmlReporter and it is not showing, so because of this I can't complete report. Pls help.

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  2 роки тому +1

      Please use ExtentSparkReporter instead of ExtentHtmlReporter.

  • @meghraj
    @meghraj 3 роки тому +1

    Why test step is shown as 0.

  • @felipeluz1333
    @felipeluz1333 4 роки тому +3

    Nice video, but I have two questions:
    1: I have several tests in my suite, do I have to insert the lines extentReports.createTest(...) and extentTest.log(Status...) for every one of them?
    2: What's the meaning of extentTest.log(Status.FAIL)? Why would I expect a test to fail? I mean, let's say I have 100 tests to display in a report. I don't know what tests may fail.

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +3

      We don't need to write this line again and again. Please go through these videos also and you will understand how we handle it in a framework:
      ua-cam.com/video/Iden9bb6H8g/v-deo.html
      ua-cam.com/video/Lapn6VLoqdc/v-deo.html&t
      We don't put Status.FAIL just like that. We will check the status of the test method and use it only if the test method fails. We want to correctly report the status of the test method, whether it was successful or failed.

  • @mdhossain529
    @mdhossain529 4 роки тому +1

    Thank You Sir. Its Awesome presentation. May God Bless you. Thank You again.

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +3

      Glad you found it helpful :)
      Please like and share the video and help us spread the word.

  • @vaibhavmhaskar6421
    @vaibhavmhaskar6421 4 роки тому +1

    Hi Lets Kode it team, i am getting this exception --> "java.io.IOException: The filename, directory name, or volume label syntax is incorrect" at "FileUtils.copyFile(screenshot, new File(path));" & at " String path = takeScreenshot(result.getMethod().getMethodName());" and screenshot was not attached to the report. Could you please suggest me how to resolve this exception issue ?

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +2

      @Vaibhav, As the error message suggests the issue is related to the filepath or filename. Please make sure you use the correct filename/filepath.

  • @nikhathk5677
    @nikhathk5677 4 роки тому +1

    Hi, thank you so much for great explanation
    But in reports folder, I don't see HTML report as a report, it is just visible as .html report,
    I have added all jar files and code as mentioned in youtube, but still I dont see HTML report, please can you help me

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +2

      Hi,
      Can you let me know what you mean by you don't see HTML report but you see a .html report?
      Sorry I am confused with this statement.
      We are supposed to see a .html report only.

  • @ashirbadprusty9327
    @ashirbadprusty9327 4 роки тому +1

    Can you do a video for Cucumber framework with Extent Report 4

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +1

      Can't promise about Cucumber because of other projects I am currently working on. Will add it to TODO list.

  • @NeoComicus
    @NeoComicus 4 роки тому +1

    This is a great guide to setting up the current version of Extent from scratch, but what about upgrading from a prior version? Currently I'm using Extent Reports v2.41.2, as taught by your Selenium course on Udemy, but I'd like to upgrade my v2 implementation to v4 and I'm finding out it's not straightforward. I can find all kinds of advice on starting from square one, but I'm using it with a lot of tests I've written over the last three years, and each test produces an Extent report. So my question is, how do I move up to the current version? I've been trying to extrapolate the steps from your videos but I seem to be missing something. Any hints?

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +1

      Hi,
      Upgrading is just a matter to updating the classes which I have shown like ExtentManager, TestListeners. We should not generate anything directly from the test methods. If you have done that previously, please remove the code of Extent Reports from test methods.
      All you need to do is use the classes/concepts I have shown in these videos and use latest JAR files/Maven dependencies.

    • @NeoComicus
      @NeoComicus 4 роки тому +1

      @@LetsKodeItOfficial I thank you for your time - I understand how busy you are - but the deeper I get the more it seems that tests have to be run from an XML file in order to use this version of Extent Reports. Is this correct? Not sure that will work for my situation.

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +1

      @@NeoComicus Yes, for this code should be run using TestNG XML file.

  • @venkateshkv9654
    @venkateshkv9654 3 роки тому +1

    Could someone please help me on this ? I am getting error as " java.lang.NoClassDefFoundError: freemarker/template/TemplateModelException " @Let's Kode it !!!

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  3 роки тому +1

      It means you didn't add freemarker JAR file or dependency. Please make sure you add all the dependencies shown in the video.

  • @asmarazaq9122
    @asmarazaq9122 4 роки тому +3

    Hi, ExtentHtmlReporter is deprecated now and is replaced by the ExtentSparkReporter. I tried my best to run my code using ExtentSparkReporter but it does not create the extent report while it was working well with ExtentHtmlReporter. Any solution...?

  • @reagalad
    @reagalad 4 роки тому +1

    Hello, Website showing enrollment is closed. Please let me know how I can enroll to get course

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +1

      Sorry for the delay, please always reach out at letskodeit@gmail.com for instant support.
      Here are the updated links:
      courses.letskodeit.com/courses/selenium-webdriver-with-java?coupon=UA-camRS899
      courses.letskodeit.com/courses/test-automation-bundle?coupon=UA-camRS29

  • @linexustjk6061
    @linexustjk6061 4 роки тому +1

    Hello Sir, thanks for the video. Please let me know if you have a paid full course for selenium java. Thank you..

    • @LetsKodeItOfficial
      @LetsKodeItOfficial  4 роки тому +1

      Hi, yes we do have complete courses available. Link is already provided in the description. Please reach out at letskodeit@gmail.com if you see any issues with the links in description.