Frequently Asked Question

Unable to save the test. Loop detected in include calls error
Last Updated 5 months ago

Error description:
This error occurs when a test executes another test that, directly or indirectly, re-executes the first one. AAT Lite detects this as a dependency cycle and halts execution to avoid an infinite loop.

Example:
test1 calls test2
test2
also calls test1
AAT detects the circular reference and throws an error:
“Unable to save the test. Loop detected in include calls.”

Common cause:

  • Tests unintentionally calling each other due to reused components without checking their structure.

  • Unintentional recursive usage of composite tests.

Recommended solution:

  • Review the structure of composite tests before executing them.

  • Avoid cross-references between tests.

  • If reusable logic is needed, consider breaking tests into smaller, independent parts.

Note:
This error is deliberately triggered by the framework to protect execution and avoid infinite loops that could consume unnecessary resources.

Please Wait!

Please wait... it will take a second!