Persistent Report

Purpose
We are connecting the Extent Report to MongoDB backend to keep history of the test runs
Installation
We will need to install MongoDB and the Klov server
MongoDB
Select the OS and follow the installation instructions

Klov Server
Official documentation for Klov: http://extentreports.com/docs/versions/4/java/klov.html
Navigate to runner -> utils -> klov -> downloadKlovServer.sh or downloadKlovServer.bat based on OS. This will download the klov jar file
Navigate to runner -> utils -> klov -> runKlovServer.sh or runKlovServer.bat based on OS

On Browser: http://localhost for login page
Username: klovadmin
Password: password
The password can be changed in the My Account settings page
Usage
Set report type to "klov"
At resources -> properties -> report.property
# report types: html (single html page) or klov (server using mongodb) report.reporterType = klov
Navigate to http://localhost to view the report
Last updated
Was this helpful?