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

  Рет қаралды 89,085

Automation Step by Step

Automation Step by Step

Күн бұрын

Пікірлер: 162
@balajiramanan2114
@balajiramanan2114 3 жыл бұрын
"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 жыл бұрын
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
@nikhiljadhavkennovation4668
@nikhiljadhavkennovation4668 Жыл бұрын
Very Simple explanation. Randomly I played but it is worth watching your tutorial.🎉
@RaghavPal
@RaghavPal Жыл бұрын
Thanks Nikhil
@akshaymore5655
@akshaymore5655 3 жыл бұрын
Thanks a lot Raghav!
@RaghavPal
@RaghavPal 3 жыл бұрын
Most welcome Akshay
@divakarkannan2372
@divakarkannan2372 3 жыл бұрын
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 жыл бұрын
yes, we can, will check some examples
@automation4u968
@automation4u968 2 жыл бұрын
Very helpful..Excellent job dear.
@RaghavPal
@RaghavPal 2 жыл бұрын
Most welcome
@ShubhamSehajpal
@ShubhamSehajpal 5 жыл бұрын
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
@DucNguyen-xn5bd
@DucNguyen-xn5bd 5 жыл бұрын
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
@radhakoshatwar5342
@radhakoshatwar5342 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
@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
@davidsierrafernandez1744
@davidsierrafernandez1744 5 жыл бұрын
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"
@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 жыл бұрын
Hi Akshay, it should be in your target folder
@akshaymore5655
@akshaymore5655 3 жыл бұрын
@@RaghavPal Okk thanks
@shilpashravge8083
@shilpashravge8083 3 жыл бұрын
very good explanation. Thanks a lot !!
@RaghavPal
@RaghavPal 3 жыл бұрын
You are welcome Shilpa
@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
@deepikasingh4032
@deepikasingh4032 6 жыл бұрын
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 6 жыл бұрын
Hi Deepika, you're welcome. pls check in your project folder
@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
@sarithapippari6318
@sarithapippari6318 5 жыл бұрын
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.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Saritha, sure I will do.
@sarithapippari6318
@sarithapippari6318 5 жыл бұрын
thank you@@RaghavPal
@bornfree7416
@bornfree7416 4 жыл бұрын
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
@ravitummala5829
@ravitummala5829 5 жыл бұрын
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 kzbin.info/aero/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa I will also try to add on this session
@checkmate7780
@checkmate7780 5 жыл бұрын
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 5 жыл бұрын
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.kzbin.info/aero/PLhW3qG5bs-L8oRay6qeS70vJYZ3SBQnFa
@RolexsRealm.20230
@RolexsRealm.20230 4 жыл бұрын
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.
@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
@Bigorange48
@Bigorange48 4 жыл бұрын
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.
@shreyasms6786
@shreyasms6786 6 жыл бұрын
It would be great if you make a video for failed test cases
@RaghavPal
@RaghavPal 6 жыл бұрын
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 жыл бұрын
Hi Raghav, Can you share a video on extent reports in TestRunner.
@RaghavPal
@RaghavPal 4 жыл бұрын
I will check Sunny
@avyukthghana8808
@avyukthghana8808 2 жыл бұрын
Hi sir....shall we export the output into Excel file...like maintaining report
@RaghavPal
@RaghavPal 2 жыл бұрын
Yes, you can
@9745754904
@9745754904 6 жыл бұрын
@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 жыл бұрын
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
@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 жыл бұрын
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
@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.
@aishwaryakala9653
@aishwaryakala9653 6 жыл бұрын
What is the difference between extend reports and testng reports(html reports). Both r used to generate the results right?
@RaghavPal
@RaghavPal 6 жыл бұрын
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 6 жыл бұрын
thanks for the reply raghav
@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
@vipin5410
@vipin5410 6 жыл бұрын
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.
@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
@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
@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
@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
@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
@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
@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 жыл бұрын
Hi Haider, this can help stackoverflow.com/questions/18106588/how-to-disable-cookies-using-webdriver-for-chrome-and-firefox-java
@RaiderIQ1
@RaiderIQ1 4 жыл бұрын
@@RaghavPal Thank you Raghav it works perfectly for Firefox but not for Chrome
@Playlist-cj9ct
@Playlist-cj9ct 4 жыл бұрын
You are awesome, thanks so much for rich knowledge :-)
@RaghavPal
@RaghavPal 4 жыл бұрын
So nice of you Namit
@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
@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 жыл бұрын
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
@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
@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 жыл бұрын
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. 🤘
@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 жыл бұрын
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?
@dsandeep9443
@dsandeep9443 5 жыл бұрын
How can we publish the klov url .. so that all my team can access the same.
@RaghavPal
@RaghavPal 5 жыл бұрын
Hi Sandeep, I have not tried it. Will have to check online
@dsandeep9443
@dsandeep9443 5 жыл бұрын
@@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 5 жыл бұрын
Hi Sandeep, what exactly do you refer to by dynamic pattern? Do you need real-time reports
@dsandeep9443
@dsandeep9443 5 жыл бұрын
@@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 5 жыл бұрын
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
@usmankarim5236
@usmankarim5236 5 жыл бұрын
Hi Raghav how i can use this in multiple classes??
@RaghavPal
@RaghavPal 5 жыл бұрын
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
@Shahid-rs3xf
@Shahid-rs3xf 4 жыл бұрын
"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 жыл бұрын
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.
@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
@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
@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.
@bartomiejkmita5118
@bartomiejkmita5118 4 жыл бұрын
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 4 жыл бұрын
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 kzbin.info/www/bejne/kIrEkIGfhLqHh9E
@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
@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 жыл бұрын
Hi Arun, I will plan a session, but do not suggest to fake the exp
@batman78845
@batman78845 2 жыл бұрын
@@RaghavPal yes sir. Not really fake, but just to have a real time project experience feeling. Confidence
@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
@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 4 жыл бұрын
You didn't explain how to take the screenshot for each step and attach it in extent report
@RaghavPal
@RaghavPal 4 жыл бұрын
Hi Dibakar, I will check and add the session
@Deniz-ss1sv
@Deniz-ss1sv 3 жыл бұрын
:)
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Selenium Framework for Beginners 23 | TestNG Grouping | How to group tests
15:00
Automation Step by Step
Рет қаралды 33 М.
Generate Extent Report - Page Object Model (POM) with Selenium - Part -5
21:09
Naveen AutomationLabs
Рет қаралды 228 М.
Selenium Framework for Beginners 17 | What is Properties File | How to use
26:30
Automation Step by Step
Рет қаралды 46 М.