ExtentReports

  • 19
    Oct

    Generate ExtentReport for multiple TestNG test scenarios

    Dependencies: extentreports-3.0.0.jar freemarker-2.3.28.jar mongo-java-driver-2.10.1.jar or org.jsoup jsoup 1.8.3 org.xerial sqlite-jdbc 3.8.11.1 org.freemarker freemarker 2.3.23 org.mongodb mongodb-driver 3.0.4 Step 1:  Create a baseclass which implements setup and teardown of extent...

    Read More
  • 19
    Oct

    Standalone extent report for a TestNG testcase (Extent Reports < 3.0 ver)

    import java.io.File; import org.testng.Assert; import org.testng.ITestResult; import org.testng.SkipException; import org.testng.annotations.AfterMethod; import org.testng.annotations.AfterTest; import org.testng.annotations.BeforeTest; import org.testng.annotations.Test; import com.relevantcodes.extentreports.ExtentReports; import com.relevantcodes.extentreports.ExtentTest; import com.relevantcodes.extentreports.LogStatus; import libraries.*; public class ExtentReportsClass { ExtentReports...

    Read More
  • 01
    Jan

    Create Extent Reports with Selenium:

    Pre-requisites Installations to Generate Extent Reports: Following softwares needs to be configured / installed on local system: 1. JDK 2. TestNG 3. Extent Report Jars Download here 4. extent-config.xml...

    Read More