Selenium Framework for Beginners 11 | How to use Extent Reports with TestNG in Selenium Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

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

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

    "Thanks to the power of infinity". I have seen 100 to 150 to 200 hours of selenium courses listed in many learning portals, which gave me an initial idea of what selenium is all about but this lecture series on selenium is just the finest essence of all good stuff seen there so far. Great explanation in crisp way. Thanks a lot. I wish to follow all your courses and recommend to friends of mine to watch your videos, who have interest in learning. Please help by posting many great works like this. All the very best. :)

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

      Hi Balaji, So happy to see this, Can see all my work here - automationstepbystep.com/

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

    Ma sha ALLAH - it helps me a lot. Stay Blessed

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

      Glad to hear that

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

    We can not get as easy and simple video on extent report as this is.Great work.Thanks Raghav.

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

      Most welcome Monica

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

      @@RaghavPal Hi Raghav, I am totally stuck in creating screenshot that too date wise in extent report and using some utility code.Can you pls share some easy way of doing it?

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

      Hi Monica, not sure, will need to check online

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

      @@RaghavPal Pls create and upload then plz as you are having expertise on making complex stuff simple.

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

      I will do, humbled to see your message

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

    Bro I request you to please explain also what you are doing, you are just reading out the statements as they are! Word to word meaning if you give, your videos will become viral too coz you are too good! :)

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

      I will try to add more explanation Shubham

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

    Very Simple explanation. Randomly I played but it is worth watching your tutorial.🎉

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

    Thanks a lot Raghav!

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

      Most welcome Akshay

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

    Very helpful..Excellent job dear.

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

      Most welcome

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

    Good Info Bro, Thanks for updates

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

      Always welcome Divakar

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

    Thank you so much. It's very useful to us . Extremely easy and knowledgeable. Thanks for sharing

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

      Can you please share the failed test cases screenshot with TestNG

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

      yes, we can, will check some examples

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

    Hi Raghav, thank you very much for all the tutorial videos that you do. I have tried using the extent reports to capture the screenshot but they don't seem to get create any where. Could you please make a video tutorial for capturing the screenshot and showing it in the report? Thank you again.

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

    Thanks for the video. Could you please explain how we can use it with the page object model. An elaborated video on the same will be helpful.

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

      Hi Mimi, I have explained about POM in this series, There will not be any change in the POM structure, You will just add the log statements of extent reports in your test.th-cam.com/play/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa.html

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

    Hi Raghav,
    This session was really helpful. Can you answer my one question:
    Is it good practice to use Log4j and Extent report at the same time?

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

      You can, extent report is to add results in a report. Logging you can use for more deeper troubleshooting

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

    Hi, I have a question. In my tests files(the ones with the extension .java that do the tests) there are a lots of tests whose title (the one that goes inside of createTest function) has strange characters like accents (á, é, è,etc.) and once the extent.html report is generated it displays them as a question mark. What can I do to solve it?

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

      Hi David, do you mean that your test case title has some characters and you need them to be displayed as it is in the extent reports. Check this
      github.com/anshooarora/extentreports-java/issues/65
      You can also search for "extent reports how to do encoding"

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

    very good explanation. Thanks a lot !!

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

      You are welcome Shilpa

  • @DucNguyen-xn5bd
    @DucNguyen-xn5bd 5 ปีที่แล้ว +1

    Hi Raghav, there are just 2 way of report in one run? Extent report and TestNG report, I don't know what relative between them.

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

      They are diff libraries, TestNG is mostly a testing framework and Extent Reports is a reporting library

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

    Hello Raghav,
    Firstly the entire playlist is very helpful. Thanks for that.
    I made the use of these 2 loggers:
    test.pass("details", MediaEntityBuilder.createScreenCaptureFromPath("screenshot.png").build());
    test.addScreenCaptureFromPath("screenshot.png");
    I need to know where I can find these screenshots?
    I hope to get a reply from you.
    Brgds,
    Deepika Singh

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

      Hi Deepika, you're welcome. pls check in your project folder

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

    It would be great if you make a video for failed test cases

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

      I will do it soon Shreyas

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

      @@RaghavPal thanks for the reply Raghav.

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

      have you done this video

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

    Hi Raghav,
    Can you share a video on extent reports in TestRunner.

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

      I will check Sunny

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

    HI Raghav, can you post a video of extent reports with parallel execution..? Somehow I am having errors with Parallel Execution with testng and don't see any help online. Thanks in advance.

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

      Hi Ravi, hope you have already seen exiting testng videos here th-cam.com/play/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa.html
      I will also try to add on this session

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

    Hi,
    How do we modify the testng.xml file in test-output/old/Default Suite/ in a maven project so that I can include different classes in testNG run? I was thinking of moving the setup and teardown methods to a new class

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

      Hi Anuran, You can create multiple testing.xml files as per your need and run the one you need as required

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

    Thanks for your another informative video. Can you please create a video on updating the test result on Extent report automatically based on the test execution result with the help of Listeners.

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

      Hi Vipin, will create a session on TestNG listeners soon.

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

    Thanks for being such a great contributor to this community! Do you have any plans to update the ExtentReports videos with the relase of 4.x.x?

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

      Hi Pete, yes I will have do the updates in some time.

  • @RolexsRealm.20230
    @RolexsRealm.20230 4 ปีที่แล้ว +1

    Thank you for the wonderful series of informative videos. How does the report looks like if the test case is actually fails?

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

      Hi Kisho, May be I have shown that in some session but do not recall. You can try failing and check.

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

    I have added the setup and after ctrl+shift+o is it still showing error for ExtentHtmlReporter, I can see package is not imported automatically and when I am adding it by myself giving me error, please help.

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

      Omair
      To create reports using Extent Reports in Selenium Java on Eclipse IDE, you will need to add the following dependencies to your pom.xml file:
      XML
      com.aventstack
      extentreports
      5.0.9
      com.aventstack
      extentreports-reporter-html
      5.0.9
      Once you have added the dependencies, you will need to import the following packages:
      Java
      import com.aventstack.extentreports.ExtentReports;
      import com.aventstack.extentreports.ExtentTest;
      import com.aventstack.extentreports.reporter.ExtentHtmlReporter;
      You can then create an ExtentHtmlReporter object and pass in the path to where you want to save the report:
      Java
      ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter("report.html");
      Next, you need to create an ExtentReports object and pass in the ExtentHtmlReporter object:
      Java
      ExtentReports extent = new ExtentReports();
      extent.attachReporter(htmlReporter);
      Now, you can create ExtentTest objects for each of your test cases:
      Java
      ExtentTest test = extent.createTest("Test Case 1");
      You can use the ExtentTest object to log the status of your test case, as well as any additional information that you want to include in the report:
      Java
      test.log(Status.PASS, "Test Case 1 passed");
      Finally, you need to flush the extent report:
      Java
      extent.flush();
      This will generate the report at the path that you specified.
      If you are getting an error for ExtentHtmlReporter, it is likely that you have not imported the correct package. Make sure that you have imported the following package:
      Java
      import com.aventstack.extentreports.reporter.ExtentHtmlReporter;
      If you are still having problems, you can try the following:
      * Restart Eclipse.
      * Clean and build your project.
      * Check your pom.xml file to make sure that you have added the correct dependencies.
      * Contact Extent Reports support for help.
      I hope this helps

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

    Hi Raghv, Can i possible to connect to db or some local storage to show the build wise automation report ? even if any other framework in market also, please suggest.

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

      Hi, I believe you will need to use tools like grafana

  • @vinodkumar-dx9ky
    @vinodkumar-dx9ky 4 ปีที่แล้ว

    I am getting null pointer exception at the starting of the second Test class where we are creating a test name using extentLogger=extent.createTest("login3"); how to resolve this?

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

      Hi Vinod, I will need to see the logs for this

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

    hi raghav,
    how to open extent report automatically after executing the testcases. because I want automate extent report too.

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

      You will need to get the file or url and open it

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

    i am getting an error may i know how to solve it --> "The method attachReporter(ExtentHtmlReporter) is undefined for the type ExtentReports"

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

      Hi Gowthami, this can help - github.com/anshooarora/extentreports-java/issues/898

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

    If you get an error, you need to add the following to either your pom.xml or as JAR file to your build path:
    jsoup.org/download
    bitbucket.org/xerial/sqlite-jdbc/downloads/
    mvnrepository.com/artifact/org.mongodb/mongodb-driver
    mvnrepository.com/artifact/org.mongodb/bson/3.8.2

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

    Hi Raghav, is there any reference for the code in the video?

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

      Yes, can find code here github.com/Raghav-Pal/SeleniumJavaFramework1

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

    Hi Raghav
    Am getting error while tring to add extent reports
    ExtentHtmlReporter htmlReporter = new ExtentHtmlReporter("extent.html");
    ExtentReports extent = new ExtentReports();
    extent.attachReporter(htmlReporter);
    while adding extent.attachReporter(htmlReporter); attachReporter is highlighted in red and on mousehover it is showing create new method.ANy idea why this is happening.
    (Tried in version 3.1.5)
    Triedin latest version also with ExtentStakReporter still same issue

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

      Hi Vini, Pls check and compare the version of Extent report

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

    Hi Raghav,
    I'm using the extent report in my code. After getting the report, for pass & fail case the report shown as PASS. Please guide

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

      Hi Surya, difficult to say anything without looking at the code and setup, Suggest you to check the process and steps again

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

    This session was really helpful. Can you help me on below?
    If I have different test case classes, then multiple reports are not getting generated. Only one report gets generated for complete testNG suite execution.

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

      Hi Parminder, you can use testng.xml for this

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

    Hi sir....shall we export the output into Excel file...like maintaining report

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

      Yes, you can

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

    Hello Rahav when iam running both ways java application& TestNG not generating report some compilation error :java.lang.Error: Unresolved compilation problem:
    VERSION_2_3_29 cannot be resolved or is not a field is coming can you explain. Thank you.

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

      Hi Imtiaz, do you see any caused by section in logs

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

      @@RaghavPal no errors raghav I add 4.1.0 version in console it’s showing as version 2_3_29 I didn’t get this

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

      will need to check online, will update if I find something

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

    @Raghav where I can find those screenshots in my project folder I am not able to find it.
    By default where those screenshots were supposed to be saved? Plz help me

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

      Hi Akshay, it should be in your target folder

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

      @@RaghavPal
      Okk thanks

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

    I am not able to add maven dependencies. Mave dependencies folder is not showing in the list.

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

      There are a few reasons why the Maven dependencies folder might not be showing in the list. Here are a few things you can check:
      1. Make sure that you have Maven installed and configured correctly.
      2. Make sure that the Maven project is properly imported into your IDE.
      3. Make sure that the Maven dependencies folder is enabled in your IDE.
      Here are some instructions on how to do each of these things:
      1. To check if Maven is installed and configured correctly, open a command prompt and type `mvn --version`. If Maven is installed and configured correctly, you should see the Maven version number printed to the console.
      2. To import a Maven project into your IDE, follow the instructions for your specific IDE. For example, in IntelliJ IDEA, you can import a Maven project by clicking on `File` > `New` > `Project from Existing Sources` and selecting the Maven project directory.
      3. To enable the Maven dependencies folder in your IDE, follow the instructions for your specific IDE. For example, in IntelliJ IDEA, you can enable the Maven dependencies folder by clicking on `View` > `Tool Windows` > `Maven Projects`.
      If you have checked all of these things and the Maven dependencies folder is still not showing, you can try the following:
      1. Restart your IDE
      2. Invalidate the Maven cache
      3. Delete the Maven project and import it again
      If you are still having problems, you can try searching for help online or contacting the Maven support team
      Here are some additional tips for adding Maven dependencies to your Selenium Java project:
      * When adding a Maven dependency, make sure to specify the correct version of the dependency.
      * You can use Maven to manage the dependencies of your Selenium Java project.
      * Maven can automatically download and install the dependencies of your project.
      * Maven can also be used to build and deploy your Selenium Java project.

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

    Thank you Raghav for your efforts. How do you do indentation of multiple lines in Eclipse please ? because Ctrl + (arrow) is not working for me.

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

      Hi Mouna, you can select all and press Ctrl+/

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

    Hello Raghav ,Thanks for wonderful video .just one question after execution of all my test cases I need to send this report to my email id with all details.Configured Jenkins for automatic generation of the report but not sure how to mail the report with all details. My second question is if i need to achieve parallel execution without flushing the existing extent report how could we achieve that. Any help would be appreciated
    Thanks in Advance

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

      Hi Anaya, you will need to use some email plugins on jenkins, You can watch some related videos in the jenkins series
      automationstepbystep.com/
      For parallel testing, this can help stackoverflow.com/questions/52811017/extent-report-issue-parallel-testing

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

    @Automation Nice video,have a doubt, Is it a good way to add info steps.in our testcases??

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

      Hi Jino, I did not get you completely. You can add steps in test cases. Are you looking at the framework model

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

      @@RaghavPal if we add log.info(click on account link) driver.findelemnt(By.name(account).click(): if we add this info steps in each step,is it a good practice in our framework

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

      Yes, you can do that, it will help in troubleshooting during errors.

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

      @@RaghavPal Thanks for replying

  • @007RedJD
    @007RedJD 4 ปีที่แล้ว

    Hi Sir,
    Screenshot are not getting generated. Can you look into that?

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

      Hi, I will need more details and error message, logs

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

    I did not understand this one. Like if I have 5 classes with each having 6-7 @Test blocks then I need to copy this code multiple times for each one?

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

      Hi @Test will add a new test in the report. So based on how you want to show the report can arrange it

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

      @@RaghavPal I don't quite understand it. Like do we not have to write the line as you did for each case? If not then is it like once in a program or package or how?

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

    Perfect guide. You have covered all the basics while creating the report , thanks.
    Is it possible you to take usecase 1 for simple and 2nd for bit complex to create pass / fail report which is based on test execution? I mean create a generic method for pass / fail report and call it for every testcase.
    This will help a lot for every one.

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

      Hi Parag, sure, I will soon create a sample mini project and publish it.

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

      Automation Step by Step - Raghav Pal hey thanks that will be great help for every one.
      Thanks once again

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

      @@RaghavPal Hey Raghav, I know you must be busy with your routines. And I really don't wanted to disturb it. But I'm eagerly waiting for your end to end mini project with framework.
      One suggestion for this mini project, please cover at least 2-3 page navigation , how to display testcase steps in extent report.
      Thanks for all efforts you have taken for all videos.
      Really appreciated. 🤘

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

    Hi Raghav thanks for the video.Can we extent report for cross browser testing running in parallel inside one reporting file?

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

      Hi Tasmi, I will check on this

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

      @@RaghavPal Thank you so much Raghav that will be very helpful for us if you create one video on this

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

    What is the difference between extend reports and testng reports(html reports). Both r used to generate the results right?

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

      Hi Aishwarya, yes both are used to generate results. Its the format and features that differ. Extent reports provide a good html format and can also customize the messages we want to log in reports

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

      thanks for the reply raghav

  • @100janyam
    @100janyam ปีที่แล้ว

    Why did we not get images of screenshots in the report?

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

      will need to check on that Sowjanya
      Can take help from some online examples too

  • @Shahid-rs3xf
    @Shahid-rs3xf 4 ปีที่แล้ว +1

    "The type ExtentHtmlReporter is deprecated " i am getting this and the Extend class is cutted

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

      Hi Shahid, did you try with the same version and process as shown. Will have to check more on this online.

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

      I ended up using Klov - ExtentReports
      www.swtestacademy.com/klov-extentreports-test-reporting/

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

      Note:ExtentHtmlReporter has been deprecated. ExtentSparkReporter is the default reporter starting version 4 and it now supports SPA-style view by default.
      I got this from Github So you have to import ExtentSparkReporter. I tried and its working.

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

    I need to get a individual report of my test execution with seperate name...by this code, if we execute our test case one more time also, it is overwritting on the previous report only... Show the line of code for that also

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

      Hi Yuva, you can add code to append timestamp in report name so you can a new report on every run.

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

    Hi Raghav! Nice video. I have one request. I need to generate the report.html file dynamically. It should pick suiteName from the testing.xml as the report.html file. I have almost achived it. But, the generated reports are showing up the results only for the last test. I have multiple tests in my testing.xml file. Any help on this would be appreciated! Thanks in advance!

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

      Hi, there may be some level of customisations possible, I am not completely sure if all that you need can be done directly. Some online resources like this can help :
      stackoverflow.com/questions/51796796/customization-of-extent-reports-using-testng-java

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

    Thank you very much for all your helps and tutorials. I've learned so many thanks to you.
    I have a question about cookies. How do we do to disable all cookies using webdriver?

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

      Hi Haider, this can help stackoverflow.com/questions/18106588/how-to-disable-cookies-using-webdriver-for-chrome-and-firefox-java

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

      @@RaghavPal Thank you Raghav it works perfectly for Firefox but not for Chrome

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

    Hello Raghav , Can please show Extent Report with Junit also Please

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

      I will check on that Abhinandan, For now pls check the documentation

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

    How can we publish the klov url .. so that all my team can access the same.

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

      Hi Sandeep, I have not tried it. Will have to check online

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

      @@RaghavPal ok thank for instant response... The end goal in having the reports in dynamic pattern is to share with client.. could you please help me with that

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

      Hi Sandeep, what exactly do you refer to by dynamic pattern? Do you need real-time reports

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

      @@RaghavPal am able to access the reports using local host url.. but when I share the url with my team who are on the same network.. they couldn't access it. I have replaced the local host with IP. Still they couldn't access it.

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

      Okay, your ip should be available publicly or on the network where your are sharing and the ports should be open for http traffic. You can take help from your network team

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

    Hi Raghav Pal who created a extent report with cucumber steps? i need know for my jobs please help

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

      Not aware Matias, you can get some online help

  • @Playlist-cj9ct
    @Playlist-cj9ct 4 ปีที่แล้ว +1

    You are awesome, thanks so much for rich knowledge :-)

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

      So nice of you Namit

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

    I really like your videos and they are very helpful.
    I can see one disadvantage. Your code is very messy and it might cause learn some wrong habits. (if you keep it as simple as possible for beginners I can understand that)
    You can improve that and it will be much better :) Anyway it is very good content! :)

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

      Thanks for the feedback, Yes I try to keep it simple for Beginners, but will improve on this

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

    How to use the encapsulation in selenium

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

      I will plan a session. For now just to understand the concept check this
      th-cam.com/video/ZYa_NiOUTQo/w-d-xo.html

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

    Oh man the test does pass but the steps is still "0" , any advice?

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

      Hi Frank, what do the logs say

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

    unable to see screenshots - any idea ?

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

      will need to see the setup and logs

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

    I am not able to add maven dependency.

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

      Hi Sandhya, I will need more details on this

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

    Hi Raghav how i can use this in multiple classes??

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

      Hi Usman, you can initialize ExtentReport and then for every test case you can create a new ExtentTest object. Make sure to flush at the end of all test cases

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

      @@RaghavPal Hello Raghav, I have multiple classes and I am running all the classes in single suite, then how can I get a single extent report for all the classes?

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

      To get a single report you can initialize Extent report before the start of all clases and then flush the report at the end. You can use TestNG beforeClass and afterClass funcitons

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

    Please do a small project with full framework from scratch in POM.
    That will really help poeple to 'fake' real time experiance and switch carrer from manual to autoamtion. sir.

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

      Hi Arun, I will plan a session, but do not suggest to fake the exp

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

      @@RaghavPal yes sir. Not really fake, but just to have a real time project experience feeling. Confidence

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

    You should have explained with multiple test cases and with using testng.xml

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

      Hi Vasant, will try to add more examples

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

    You didn't explain how to take the screenshot for each step and attach it in extent report

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

      Hi Dibakar, I will check and add the session

  • @Deniz-ss1sv
    @Deniz-ss1sv 3 ปีที่แล้ว +1

    :)