Skip to content

Email template for Robot Framework test results

Notifications You must be signed in to change notification settings

mefly2012/robot-email-template

 
 

Repository files navigation

Jenkins-robot-email-ext-template alt text

Use in Jenkins

  1. Have your Jenkins administrator place the script inside $JENKINS_HOME/email-templates.
  2. Use the SCRIPT token with the template parameter equal to your script filename without the .groovy extension. For example, if the script filename is email-template.groovy, the email content would look like this ${SCRIPT,template="email-template"}.
  3. Change the ${Report html name} and ${Log html name} token to "report.html" and "log.html" in the jenkins "Publish Robot Framework test result" section as per the template.

Note: While copying template, use raw file, otherwise may contain escape string.

Email Template provides the below information.

1. Build Details
	- Build URL
	- Project URL
	- Build Name
	- Date of Job
	- Job Duration
	- Submitted by 
	
2. Test Summary

3. Statistics by Suite
	This table contains below details.
		- (Name) Test suite name
		- (Failed tests) Number of Failed test cases in the suite
		- (Passed tests) Number of Passed test cases in the suite
		- (Duration) Suite execution time.
		
4. Links to below.
	- Detailed Results.
	- Report
	- Log
	- Console output
	
5. Test Trend(all tests)
	- Test Result Trend Image(Refer: https://github.com/vladwa/robot-email-template/blob/master/Test%20Result%20Trend.png)
	- Duration Trend Image(Refer: https://github.com/vladwa/robot-email-template/blob/master/Duration%20Trend.png)

6. Test Execution Results
	- Test Name
	- Status
	- Message
	- Execution time
	- Duration

alt text

About

Email template for Robot Framework test results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Groovy 100.0%