S.C
S.C

Reputation: 61

In Robot Framework, screenshots are not linked to log.html when executed via Jenkins

I have setup Robot framework execution via Jenkins. The job is setup and executed successfully. The screenshots are also getting captured. But the only issue is that in the file log.html the screenshots are not referenced i.e whenever there is a failures, the log.html says that a screenshot has been captured but the name of the screenshot is not mentioned also the screenshot is not opened inline. Refer below example:

enter image description here

Above is a screenshot of log.html where upon failure the log says that the screenshot is captured but no file name is mentioned. When the complete test-suite executes there are more than 1000 screenshot in the result folder and it is very difficult to identify which screenshot belongs to which failure.

Following is my jenkins configuration:

enter image description here

Upvotes: 0

Views: 1532

Answers (1)

saurav
saurav

Reputation: 422

This may not be the answer you are looking for but using this keyword embeds image directly in your log.

Capture Page Screenshot     EMBED

Upvotes: 1

Related Questions