User's Guide > About the User's Guide > Word and Excel Templates > Excel Templates > Export Test Cases with Test Steps Using MS Excel
Export Test Cases with Test Steps Using MS Excel
This section describes exporting test cases.
* 
For an example on how to export test steps to Word, see How to export Test Cases with Test Steps
The following custom Excel template will export test cases IDs, and name together with test steps: Excel template
Export Test Cases with custom Test Step columns
While the 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>
Was this helpful?