Step 1 – Install seleniumhtmlreport
- https://plugins.jenkins.io/seleniumhtmlreport/
Step 2 – Use following code
# CODE 1
seleniumHtmlReport(String testResultLocation = 'target') {}
# CODE 2
job('seleniumreport') {
publishers {
seleniumHtmlReport('target/test-output') {
failOnExceptions()
}
}
}
Latest posts by Rajesh Kumar (see all)
- List of Popular Projects at Github for Sample Lab and Exercise - September 23, 2023
- Dynatrace Tutorials: Dynatrace Managed Cluster on the AWS Cloud - September 23, 2023
- Dynatrace Tutorials: How to Generate a Dynatrace API Token - September 23, 2023