It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Test Report export via template from Test Plan Edited

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

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
TAGS
Community showcase
Published in Feedback & Announcements

Atlassian Authors Awards

We created the Atlassian Authors program in 2019 to give more Community members the permissions to write Articles, along with the inspiration and tools to help them succeed. Since then, the program...

1,438 views 20 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you