Generate Extent Report - Page Object Model (POM) with Selenium - Part -5

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ก.ย. 2024

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

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

    Hi Naveen , thank you very much for sharing your knowledge .I wanted to shift to IT industry but firstly I was very confused and tensed to take up selenium and I wanted to quit .But after watching your videos I am gaining confidence.Your teaching way is amazing and i think novice like me can understand easily.you are making complex way to very simple to understood.Thank you and God bless you.

  • @bharatvarshney2666
    @bharatvarshney2666 6 ปีที่แล้ว +6

    Its my privilege to write some few word for you "amazing".
    You are shining star for us

  • @testinginsights-muktasharma
    @testinginsights-muktasharma 7 ปีที่แล้ว +8

    yes, it is amazing. When you explain, everything looks easy and simple. Your videos are very informative. Thank you for this short and crisp video!

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

    Naveen, you are the man! Thank you so much for sharing your wisdom.

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

    Due to your videos and such a great detailed explaination, even a person like me can learn selenium automation. And I am studying after almost 8 year. you are awesome Naveen. Keep on rocking. Big Thanks!

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

    Thanks a lot Naveen for covering a very useful topic in easy language. Your teaching style is much better than other channels. Keep it up Naveen.

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

    thank you so much naveen sir for contribution in automation and making everyone learn with joy,i really enjoy watching your videos,im a huge fan of u..

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

    Thank you Naveen, I would like to express gratitude to you. Your videos are very informative.

  • @swapnilbodade1336
    @swapnilbodade1336 5 ปีที่แล้ว +3

    Thanks a lot Naveen. I recommend my friends this channel it is fabulous.

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

    best testing automation tutor in the india

  • @ramm8ty
    @ramm8ty 6 ปีที่แล้ว

    Hi Naveen, your illustration is very simple and clear. Thanks for sharing with us.

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

    One of the best video tutorials

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

    Hi Naveen , I am very thankful to you , your video is very helpful for me . Thanks a lot

  • @basuB-x1d
    @basuB-x1d 8 หลายเดือนก่อน

    Hi Naveen, your videos are really good and have such a great detailed explanation, Thank you

  • @qeshquddus2709
    @qeshquddus2709 6 ปีที่แล้ว +3

    Naveen, May god bless you for your hard work for us.

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

    Hi Naveen, thanks for sharing outstanding video. You have explained such a systematic way that is easy to understand.

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

    Thank you so much Naveen sir, your videos helped me a lot to set up a framework in my current project.. Once again thanks

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

    Thank you naveen vai once again for a great video. Once i get a job I will definitely buy you coffee ;-) keep up the great work!

  • @sunnykartikeya
    @sunnykartikeya 6 ปีที่แล้ว +3

    Hi Naveen, Thank you so much for the video..you are an awesome mentor..Please cover Extent Reports Version 3.0 video also in the series..Thanks a lot again :)

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

    Really great videos, very easy to understand and your explanation is really very easy, Keep up the good work

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

    Fabulous Naveen!!! God bless you!!! Keep Shining!!!

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

    Thanks Naveen ..Nice video and explained in very informative manner ,👍👍

    • @Sreekumar-zk6sb
      @Sreekumar-zk6sb 6 ปีที่แล้ว

      Thank you very much for sharing such amazing web content. Seriously its the best material I have ever watched here related to selenium . please go ahead with sharing your knowledge I am sure good response for your videos.

  • @user-vv4wt3nl8w
    @user-vv4wt3nl8w 9 หลายเดือนก่อน

    Thanks a lot Naveen for Such a wonderful information!

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

    its very nice content that u have provided...thank you Naveen..

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

    Extent.html is not generated in test-output folder, any tips please

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

    Hi, Simple the best teacher you are.I have one problem, How to add screenshots of fail testcases in this report.You have shared the video on add screenshot in extend report,which is for a separate test case,I want to add a screenshot in this report, which is you sharing in this video(POM),hope to get an answer soon.Thank you

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

    🌾Owww... its what I really need!
    Wish U great day☺
    Ure special

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

    Hi naveen, its a great tutorial for extent report. Couldn't find a more compact as well as efficient code, without any complex methods included or long coding needed. Which is why right now its a big issue as some of the libraries of Extent has been shifted. Now it gives many errors which i'm not sure how to troubleshoot. Request you to make a video with updated codes and spread the knowledge to wider audience. Thanks a lot!

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

    your videos are very useful

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

    Thank you so much Sir for sharing these videos. It's so easy to learn selenium through these videos. Request you to kindly upload some videos related to cucumber as well.

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

    Thanks a Lot Naveen Garu this was very helpfull , and if any one getting the error "java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal ", Then keep @Override above the generate report() method.

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

    This video was supposed to have Log4J also as mentioned by you in Part-4... Is there any separate video?

  • @aarthibyram7688
    @aarthibyram7688 5 ปีที่แล้ว +3

    Hi naveen, thanks for that wonderful vedios...its very informative...but here for generating extent report the dependency which you have shared is not working so I have tried using groupid but now the problem in extent report getting errors with logstatus and few more,could you please helpe on this?

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

    Thanks sir, love your teaching style.

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

    Thank you very much finally done it.

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

    Too good content. Thanks for this video!

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

    Awesome thanks

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

    Helpful your videos sir

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

    From where the header "TESTS" is coming in report. i cant see in testng.xml as well

  • @ritu.a.mullurritu.a.mullur9841
    @ritu.a.mullurritu.a.mullur9841 6 ปีที่แล้ว

    Hi Naveen , you're videos are easy to understand thank you 😊

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

    thank you so much naveen! i'm learning a lot. keep the videos coming. we'll support you :)

  • @balajivemula3992
    @balajivemula3992 5 ปีที่แล้ว

    Hi naveen, your explanation was good and easy to underastand each and every point.Please give the instructions how to download extent report code

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

    Thanks alot for such amazing lectures

  • @SanjaySharma-pp6op
    @SanjaySharma-pp6op 5 ปีที่แล้ว

    Naveen you are fabulous.

  • @sunilkumawat8294
    @sunilkumawat8294 6 ปีที่แล้ว

    Very good Explanation and Add more informative video for us..

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

    Thank you so much navin...!!.but maine Jo scenario run Kiya wahi scenario ka muje extent report nhi mil Raha...aisa kyu????

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

    Naveen, i am not able to see the report in output folder, even though there is no issue while running all the dependencies also added...

  • @HarshPatel-pj7xv
    @HarshPatel-pj7xv 2 ปีที่แล้ว

    Thanks Naveen

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

    Thanks for all your videos Naveen. This extent report solution is not working now for 2+ versions, can you do a video for version 5 with this POM. It would be really helpful

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

    A big thanks Naveen! :)

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

    clear explanation

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

    Hi Naveen.Thanks for all the informative videos.Could you please tell me the changes required to generate report,if I want to run a single class and not from the testng xml.

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

    which will be the best to use for ExtentReport? IReporter or ITestListner?
    and why? could you please explain that?

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

    Hi Naveen, i love your classes and way of teaching. I would like to know do you give training on testing for students?

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

    From where you got extent report template code? is it available online?

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

    Hi Naveen, thanks for the video .. and i have a query am planning to add the screenshorts for pass and fail cases ..how to do that and script wise how to maintain pass and fail images..pls comment ..

  • @samsn3814
    @samsn3814 5 ปีที่แล้ว

    Great videos Naveen thanks for your effort

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

    Thank you for all the videos you shared. It is really amazing to learn new things in selenium.You are a genius in automation..Keep posting such awesome videos.

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

    Thanks for this superb solution. :)
    Do you have a solution for extent report for parallel execution using TestNG?

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

    Hi!! Can we use ITestListener instead? What would be the difference then?

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

      Any suggestion?

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

    Can you also tell how to integrate logs with Extend report? It would be great if you could share the code

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

    @Naveen AutomationLabs Hi Naveen , Thank you for the details. how can we add the test step details to Extent Reports?

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

    Hi Naveen, Thanks for sharing wonderfull explanation for how implement extentsreport in project. But I have one Question, I watching all your POM video's from part 1 and till now and my questiong is, We created two source folder src/main/java and src/test/java and create all packages for pages, util, config, base and testData in src/main/java and for testpage class create in src/test/java, so what is reason behind for this ?

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

    Hi Naveen, quick question how would we add the log info to the report? Thank you in advance

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

    Hello Naveen
    Really enjoyed the session for Extent Reports, only one question please, how can i add screen shots for failure in the Extent Reports please?

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

    Hi Naveen how to run the testng.xml file created through command prompt.. if it was not project then we could have used java -cp bin;jars... but there is no bin folder in maven? Please help

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

    Hi Naveen,
    Thank you for helping to learn through your Videos.
    I'm using your code to generate Extent report and working fine.
    Can you please help me take a screen shot on failure of a test case.
    Thanks.,
    Sanga.

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

    Hi Naveen sir, can u help me inthis regard that in maven project fro TestNG annotation getting the Error as "The attribute Priority is undefined for the annotation type test" for Test attribute..

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

    Hi, Naveen, Thanks for the video; it is really helpful; Can you please let me know how to include the all the detail information about the passed test cases for an example include the all the options in the drop-down list or any println information etc

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

    Thanks for this superb solution! Naveen, I had a question, how can we implement to add screenshot for failed test cases in the report in the same class only

  • @raghuram7893
    @raghuram7893 5 ปีที่แล้ว

    Hi Naveen,I have a question.Suppose an email should be triggered from outlook to a person who fills a form.Can we verifiy that functionality using Selenium?

  • @ankitsuhane
    @ankitsuhane 5 ปีที่แล้ว

    Naveen sir, I see your videos and those are really helpful. In current video i want to know how can one can add screenshot in extent report .

  • @rajeshrj6538
    @rajeshrj6538 5 ปีที่แล้ว

    Hi naveen.. Very Good explanation.. as extent reports are updated to newer version.. many methods are not accepting the arguments and throws error.. can u pls do another video on Extent report with version 3 if possible.. thanks anyway..

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

    Awesome

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

    Hi Naveen, I love the videos which you post and I always recommend your videos to all my juniors. however I myself had one question, is it possible to generate the report in PDF format or at least convert the HTML in PDF later?? Expecting a positive reply from you. Thanks in advance.

  • @harshsoni2816
    @harshsoni2816 5 ปีที่แล้ว

    Naveen sir its mandatory you should know how to generate allure reports. I mean to say that about only allure report topic . If the interviewer ask me about the allure report and I say I never used. Is it fine?

  • @akshitagarwal7835
    @akshitagarwal7835 6 ปีที่แล้ว

    Hello Naveen, the videos are really helpful. While designing the same framework on my own I faced an issue. It would be really helpful if you can suggest something on this.
    After integrating extent reporting in my framework, it is working as expected but the next day it stops working and no new report is generated.

  • @prasadsardesai
    @prasadsardesai 5 ปีที่แล้ว

    Hello Naveen Sir, how can we integrate extent report with Cucumber ? I am not using testNGthere, Iam using Junit.

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

    Hi Naveen, your videos are wonderful!! detailed learning . I am creating DDF using POM after seeing your video. I have quick question for you. Scenario 1: I have to fill one form and the fields are text box but some of them are bootstrap dropdown so how can I implement that thing in my method. do I need to use data provider approach but in case of drop down how it will work? Scenario 2: there is a Account# field in that form and I have to validate if the newly created acct# is exist in the application then how to test duplicate. please help me !!

  • @ganeshmynampati1607
    @ganeshmynampati1607 5 ปีที่แล้ว

    Hi Naveen can you please provide us a session on configuring and using extent report version 3 in Page object model...

  • @Ramkrishna-be9bn
    @Ramkrishna-be9bn 4 ปีที่แล้ว

    Hi Naveen, excellent video , am follower of ur video's really it is very helpful. How to add screen shots in this video. Kindly share the code it is very helpful.. thank you

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

    Hi naveen...i tried this report and it is not displaying test cases in the order in which test cases was executed. How can i do that?

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

    hi naveen ,your videos are fabulous please let me know how can we create more generic code for the framework via POm . Please let me know for the same . Will be waiting for your reply .

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

    Hi Naveen. Thanks for sharing this. Your videos are by far the best videos for Selenium.
    I have a query. How can we attach screenshots to this report?

    • @blablagswjsvsns134
      @blablagswjsvsns134 6 ปีที่แล้ว

      i have the same QUESTION.IF anybody can help.?

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

    Thanks for the video. Can you please share a code to add screen shot to the extent report

  • @Mani-oq2bj
    @Mani-oq2bj 6 ปีที่แล้ว

    Hi Naveen,
    Thank you for sharing videos.
    I want to add description for each Test case, is it possible in extent report?
    because if we add description for each test case, then any one can easily understand. please help me

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

    Hello Naveen. Could you please explain this test ng listener template used. I coudnt find it on internet. Because one needs to have basics cleared so as we can use it in other projects as well.

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

    hey Naveen, Can i add screenshot for failed testcases in this extentreport? I have seen your another video regarding screenshot attachment but i want to use this listener class .Please reply

  • @fionabruce2009
    @fionabruce2009 6 ปีที่แล้ว

    Hi I have a question am not using testng, am currently using junit, how do i go about adding the listener to the testng.xml

  • @sutharsansadhasivam2401
    @sutharsansadhasivam2401 5 ปีที่แล้ว

    Hi Naveen, I could see some log4j import in the code present in git. But what's the need for it.
    For me only the first test case in every page is getting executed. I could not find the reason for it. Please help me

  • @MrRaviBhavsar
    @MrRaviBhavsar 6 ปีที่แล้ว

    Awesome Naveen !! It is really helpful. Could you please let me know how to configure in Jenkins ?

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

    Hi Naveen,
    Can you please make video on Grafana and influxDb for reporting dashboard in detail.

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

    Recently webdriver waits are deprecated..,, any alternative solution for waits..,,

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

    Why there is no sure fire plugin in pom.xml ? and how this framework is running without it ?

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

    Hi Naveen, do you have a tutorial on how to add screenshot capture using this extentReport listener?

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

    Hello Naveen! Once again thank you for this great demo! However, I have a demand. I want to know if you have a video about how to raise a bug (like in Jira for example) after you found one. If no, can you please show us how to log a bug, I mean everything about the bug life cycle using Jira for example. Thank you and thank you again!!

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

    Hi Naveen, getting "extentreporter.Extentreportlistener cannot be cast to org.testng.ITestNGListener" error can you please let me know about the problem?

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

    Hi Naveen, Thank you so much for amazing explanation. i have completed same implementation in my code but report is not getting generated in specified directory. could you please help me here to understand the issue
    package Utilities;
    import java.io.File;
    import java.util.Calendar;
    import java.util.Date;
    import java.util.List;
    import java.util.Map;
    import org.testng.IReporter;
    import org.testng.IResultMap;
    import org.testng.ISuite;
    import org.testng.ISuiteResult;
    import org.testng.ITestContext;
    import org.testng.ITestResult;
    import org.testng.xml.XmlSuite;
    import com.relevantcodes.extentreports.ExtentReports;
    import com.relevantcodes.extentreports.ExtentTest;
    import com.relevantcodes.extentreports.LogStatus;
    //You have a file which connects to testng
    //Testng to listen to this extent report
    public class ExtentReporterNG implements IReporter
    {
    private ExtentReports extent;
    public void generateReport(List xmlSuites, List suites, String outputDirectory) {
    extent = new ExtentReports(outputDirectory + File.separator + "ExtentReportsTestNG.html", true);
    for (ISuite suite : suites) {
    Map result = suite.getResults();
    for (ISuiteResult r : result.values()) {
    ITestContext context = r.getTestContext();
    buildTestNodes(context.getPassedTests(), LogStatus.PASS);
    buildTestNodes(context.getFailedTests(), LogStatus.FAIL);
    buildTestNodes(context.getSkippedTests(), LogStatus.SKIP);
    }
    }
    extent.flush();
    extent.close();
    }
    private void buildTestNodes(IResultMap tests, LogStatus status) {
    ExtentTest test;
    if (tests.size() > 0) {
    for (ITestResult result : tests.getAllResults()) {
    test = extent.startTest(result.getMethod().getMethodName());
    /*test.getTest(). = getTime(result.getStartMillis());
    test.getTest().endedTime = getTime(result.getEndMillis());*/
    for (String group : result.getMethod().getGroups())
    test.assignCategory(group);
    String message = "Test " + status.toString().toLowerCase() + "ed";
    if (result.getThrowable() != null)
    message = result.getThrowable().getMessage();
    test.log(status, message);
    extent.endTest(test);
    }
    }
    }
    private Date getTime(long millis) {
    Calendar calendar = Calendar.getInstance();
    calendar.setTimeInMillis(millis);
    return calendar.getTime();
    }
    }
    testng xml file code:

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

    Greatly appreciate your efforts naveen 👋Im watching this 2021. Does it still work? And do we not need config.xml file? Will it still work for cucumber proj too? Is ther any recent one of new versions of extent report please??
    Thanks

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

    Hello sir, while running TestNG.xml, I get classcastexception.