Image in Xray Test Plan Report

Fernando Marvin Gonzalez Martinez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2024

Xray test plan report contains image in column evidence por every test step, this is good. The problem is with image size, are very small, if you need review the images must to download.

 

Is there any configuration to define the image size?

 

image.png

 

 

2 answers

Suggest an answer

Log in or Sign up to answer
1 vote
Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 20, 2024

I guess you're using this Test Plan Report template.

There are 2 different ways of making reports: using the document generator which is part of Xray or using the Xporter app. They provide similar capabilities but they are not exactly the same, so please make sure you know which one are using; I would say that most probably it's the document generator feature that is part of Xray.

Assuming that, as mentioned in the docs, you can obtain the evidence and format the output.

If you look at page 22 in that report template I mentioned above, you see something like the following on the Evidence column

 

#{for e=TestExecutions[n].TestRuns[a].Iterations[m].TestSteps[r].EvidencesCount}

@{title=${TestExecutions[n].TestRuns[a].Iterations[m].TestSteps[r].Evidences[e].Name}|href=${TestExecutions[n].TestRuns[a].Iterations[m].TestSteps[r].Evidences[e].FileURL}}

!{${TestExecutions[n].TestRuns[a].Iterations[m].TestSteps[r].Evidences[e].Evidence|maxwidth=100}}

#{end}

 

so, where you have "..Evidence|maxwidth=100" you can adjust that to your needs, following the syntax available for images as mentioned in the docs.

You'll need probably to adjust the template in several places; then you need to reupload it to your Xray instance before using it.

 

 

 

0 votes
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 9, 2024

Hi @Fernando Marvin Gonzalez Martinez 

Welcome the community.

I can't see options to enlarge this, this is probably set in the app as a default.

I suggest you to refer your question to Xray support, as they built the app and control is functionality.

Fernando Marvin Gonzalez Martinez
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 9, 2024

Thanks, I will do.

Like Marc - Devoteam likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events