You are not logged in. Click here to log in.

Codebeamer Application Lifecycle Management (ALM)
We will be upgrading Codebeamer.com to version 3.1 during a scheduled maintenance window:
🕒 Start: Friday, July 25, 2025 at 21:00 (CEST)
🕒 End: Sunday, July 27, 2025 at 16:00 (CEST)
During this time, Codebeamer.com will be unavailable. Please plan your work accordingly and ensure that any necessary activities are completed in advance. We appreciate your understanding and cooperation.

Search In Project

Search inClear

Tags:  not added yet

Export Test Cases with Test Steps Using Ms Excel

For an example on how to export test steps to Word see: How to export Test Cases with Test Steps

The attached custom Excel template will export Test Cases together with Test Steps: Excel template

What it does is simply exporting Test Cases's id and name and their Steps, where each Steps goes to a new row. Like this:

Export Test Cases with custom Test Step columns

While custom column field values are not exposed directly, they can be accessed using groovy:

step.additionalColumnValues.find{it.key.name == 'CustomWikitext'}.value

For example:

<jt:forEach items="${items}" var="item">
<cb:groovy template="false" silent="false">
    testCase = new com.intland.codebeamer.manager.testmanagement.TestCase(item, user, applicationContext);
</cb:groovy>
<jt:forEach items="${testCase.testSteps}" var="step">
<cb:groovy template="false" silent="false">
    return step.additionalColumnValues.find{it.key.name == 'CustomWikitext'}.value
</cb:groovy>

</jt:forEach>
</jt:forEach>

See: Test Cases Export.xlsx