Document generator - iterate via folder

tomaszkaleta February 9, 2022

Hi,

I have created test plan, with Test (Xray)) split at folders A,B,

Then I want to create the template for a Document generator that will produce this data (Execution status):

 

 

Test plan Folder

Total

Completed

Failed

N/A

Executing

Blocked

To Do

% Completed

A

0

0

0

0

0

0

0

0%

B

0

0

0

0

0

0

0

0%

 

So is it possible to iterate via folders? maybe someone has a similar template used.

1 answer

0 votes
Rogério Paiva - Xray Xporter
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.
February 16, 2022

Hi @tomaszkaleta 

It is impossible to iterate over the folders. However, it is possible to evaluate the folders and use conditional blocks to count Tests (or other information) on specific conditions.

For instance, if the Folder is A, it counts on a given variable. If it is a Folder B, it counts in another variable. And in the end, you print the "count A" and the "count B" values.

Thank you.

Kind regards,
Rogerio Paiva [Xray Support Team]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events