Test Report export via template from Test Plan

patrick.lanzinger February 18, 2020

Hi,
i am creating a Test Report Template whcih i want to export from the Test Plan.

I would like to determine the number of test cases of the individual test executions of my test plan. With the command ${TestsCount} I get the number of tests in the test plan. In my opinion, the following command should output the number of tests in a test execution:


#{for testExecutions}
${TestExecutions[n].TestsCount}
#{end}

Unfortunately, this command does not work. Does anyone know the right command?
Thank you

Patrick

1 answer

0 votes
José Domingues [Xray]
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 24, 2020

Hi Patrick, 

The direct mapping of "${TestCounts}" only works to extract the number of tests in a test set. If you use it an iteration, it will work for the test plans tests details. However, it will not work for a Test Execution, for that you'll need to set up a counter inside a Test iteration for the Test Execution.
If you need any help constructing the template, please create a support ticket on our Service Desk portal.

Best Regards,

Xporter Team

Suggest an answer

Log in or Sign up to answer