@minakshi
You can get Extent Report Jar form here
https://drive.google.com/open?id=0ByJmgAhaLx0GVzktVFNNUEZPeWc
official Extent Report site : http://extentreports.relevantcodes.com/
You can take developers or team mates help to include the extent report dependency in your build.gradle file.
As far as i know, you should be adding a line like
compile 'com.relevantcodes:extentreports:2.41.2'
to the dependencies section in your build.gradle file.
After including do a gradle build once and then use the below code snippets to generate Extent Report.
public ExtentReports report;
public static ExtentTest elogger;
report = new ExtentReports(System.getProperty("user.dir")+ File.separator + "yourReportName.html", true, DisplayOrder.OLDEST_FIRST);
report.startTest("Test Name")
elogger.log(LogStatus.INFO, "This is an info statement.");
elogger.log(LogStatus.PASS, "This is a statement which gets displayed only after your test step gets passed.");
report.endTest(elogger);
report.close();
You can use these INFO and PASS statements after and before your test steps.
At the end you will see a beautiful report like the one here.
http://extentreports.com/os/3/extent.html