---
title: "How can I generate ATs in my templated documents?"
description: "ATs in Ketryx are elements that are created when automated tests are reported directly against design items (e.g. RQ or SW), as opposed to Test Cases (in which case they would appear as TEs in Ketryx). ATs can't be called through KQL since they aren't technically considered to be items."
category: "Frequently Asked Questions"
section: "General"
keywords: ["ats", "templated documents", "documents generate", "trace", "rtm", "elements", "matrix example", "tests reported"]
source_url: "https://support.ketryx.com/hc/en-us/articles/37190412367501-How-can-I-generate-ATs-in-my-templated-documents"
last_reviewed: 2026-06-11
---

# How can I generate ATs in my templated documents?

ATs in Ketryx are elements that are created when automated tests are reported directly against design items (e.g. RQ or SW), as opposed to Test Cases (in which case they would appear as TEs in Ketryx).

ATs can't be called through KQL since they aren't technically considered to be items. We can get them in a template by using the {$TRACE} functionality to grab AT elements from the trace matrix.

Example below:

{$TRACE rtm}

{#rtm.groupedRows}

{#columns.verificationTest.testStatuses}

{title}:{result}

{/}{/}

## Related articles

- [How do I remove automated tests (ATs) from Ketryx?](how-do-i-remove-automated-tests-ats-from-ketryx.md)
- [How do I generate a table of contents on custom templated documents?](how-do-i-generate-a-table-of-contents-on-custom-templated-documents.md)
- [How do I generate release documents?](how-do-i-generate-release-documents.md)
- [Can I change the timezone on my templated documents?](can-i-change-the-timezone-on-my-templated-documents.md)
- [Why do systems documents and templated documents have different behavior for prompting re-generation?](why-do-systems-documents-and-templated-documents-have-different-behavior-for.md)
