Customizing Extent Report with Logo..!!



Customizing Extent Report with Logo..!!

In this blog, we are going to learn how we can add customize extent report with the logo of our own choice.

To know how to setup extent report please refer to this blog.

To display the logo on the top of the extent report just add below XML  configuration to the extent-config.xml path placed inside the resources folder.


In this example, I have added selenium logo at the top of extent report.


The full extent-config.xml path would look something like below

After executing our test Result would be :






SHARE THIS

Author:

My Name is Ankur Jain and I am currently working as Automation Test Architect.I am ISTQB Certified Test Manager,Certified UI Path RPA Developer as well as Certified Scrum Master with total 12 years of working experience with lot of big banking clients around the globe.I love to Design Automation Testing Frameworks with Selenium,Appium,Protractor,Cucumber,Rest-Assured, Katalon Studio and currently exploring lot in Dev-OPS as well. I am currently staying in Mumbai, Maharashtra. Please Connect with me through Contact Us page of this website.

Previous Post
Next Post
November 11, 2019 at 11:35 PM

where is the extent-config.xml file?

Reply
avatar
March 14, 2020 at 5:29 PM

Hi , I am using extent report v4 without xml file. I am not sure how to associate xml file with extent report code. Can you please help. Currently I am customizing on code level

htmlReporter.config().enableTimeline(false);
htmlReporter.config().setDocumentTitle("AUTOMATION");
htmlReporter.config().setReportName("XYZFREEDOM SANITY AUTOMATION REPORT");

Reply
avatar
April 20, 2020 at 4:05 PM

I have used same xml file, but still not able to generate report with Logo. Can you suggest the changes.

Reply
avatar