How to Generate Gradle Report in Selenium TestNG


How to Generate Gradle Report in Selenium TestNG

In this section of the Gradle Tutorial, we would be learning how to create and generate different reports in our Gradle project.

Before moving further I would highly recommend you visit this link. To understand how to create and work with the Gradle project.

There are two basic types of reports that we can generate with Gradle.



1.     TestNG report
2.     Gradle Report

To Configure TestNG Report we need to provide the below configuration in our build.gradle file.

Once we execute our test we would be able to view one new folder named AutomationReport which would contain a report like this.


Similarly to configure the Gradle report we need to provide the below configuration in our build.gradle file.

Once we execute our test we would be able to view one new folder named GradleReport which would contain a report like this.





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