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

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 162

  • @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/

  • @nikhiljadhavkennovation4668
    @nikhiljadhavkennovation4668 Год назад

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

  • @hayaulislam
    @hayaulislam 4 года назад +4

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

  • @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

  • @akshaymore5655
    @akshaymore5655 3 года назад +1

    Thanks a lot Raghav!

  • @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

  • @divakarkannan2372
    @divakarkannan2372 3 года назад +1

    Good Info Bro, Thanks for updates

    • @RaghavPal
      @RaghavPal  3 года назад

      Always welcome Divakar

  • @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

  • @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.ruclips.net/p/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa

  • @automation4u968
    @automation4u968 2 года назад

    Very helpful..Excellent job dear.

  • @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.

  • @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

  • @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.

  • @sunnykanna7373
    @sunnykanna7373 4 года назад +1

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

  • @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.

  • @shilpashravge8083
    @shilpashravge8083 3 года назад

    very good explanation. Thanks a lot !!

    • @RaghavPal
      @RaghavPal  3 года назад

      You are welcome Shilpa

  • @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"

  • @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

  • @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 ruclips.net/p/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa
      I will also try to add on this session

  • @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.

  • @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+/

  • @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

  • @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. 🤘

  • @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

  • @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

  • @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

  • @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

  • @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

  • @Playlist-cj9ct
    @Playlist-cj9ct 4 года назад +1

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

    • @RaghavPal
      @RaghavPal  4 года назад +1

      So nice of you Namit

  • @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

  • @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

  • @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

  • @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

  • @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

  • @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

  • @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

  • @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

  • @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

  • @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

  • @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

  • @avyukthghana8808
    @avyukthghana8808 2 года назад

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

  • @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

  • @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

  • @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

  • @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

  • @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

  • @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.

  • @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.

  • @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?

  • @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.

  • @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

  • @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

  • @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
      ruclips.net/video/ZYa_NiOUTQo/видео.html

  • @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

  • @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

  • @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

  • @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

  • @sandhyajangra2571
    @sandhyajangra2571 Год назад

    I am not able to add maven dependency.

    • @RaghavPal
      @RaghavPal  Год назад

      Hi Sandhya, I will need more details on this

  • @sagarsjdjfn
    @sagarsjdjfn 3 года назад

    unable to see screenshots - any idea ?

    • @RaghavPal
      @RaghavPal  3 года назад

      will need to see the setup and logs

  • @Deniz-ss1sv
    @Deniz-ss1sv 3 года назад +1

    :)