Sharon_Barnes
ServiceNow Employee
ServiceNow Employee

Enhance ATF with On-Demand PDF Reports: A Developer’s Guide

If you’ve ever wished for a better way to share or certify ATF test results in ServiceNow, you’re not alone. In this Platform Academy session, we take a developer-first look at building a custom PDF report generator for ATF. The best part? It's fully customizable and built using out-of-the-box platform tools (no plugins required beyond the PDF generation engine).

 

 

What Inspired This?

Feedback from customers at Knowledge '25 made it clear—developers want a simple way to generate shareable ATF test results. Whether it’s for audits, stakeholder reviews, or QA documentation, this tool gives you a streamlined way to deliver rich, branded test reports.

 

What We Covered:

  • ATF Enhancements in Yokohama: Now Assist test generation allows natural language to test automation, and reusable test steps let you manage complex suites more efficiently.

  • Building the PDF Report Generator: Starting from scratch, we create a scoped app with:

    • A script includes (ATFReportGenerator)

    • UI actions for single and combined test reports

    • Support for logos and screenshots

    • Custom logging and report formatting

  • Live Demo: Oluyinka walks us through executing a test, capturing screenshots, and generating branded PDFs—both single and combined test reports.

  • Tips & Troubleshooting: Scoped vs. global quirks, plugin checks, and enabling screenshot capture via ATF properties.

  • What’s Next? We explore ideas for expanding the tool, including automating with IntegrationHub, summarizing tests with the Now Assist Skill Kit, and improving accessibility formatting.

In this Academy session, Oluyinka shows how to create a custom on-demand PDF generator for ATF test results using ServiceNow, step-by-step and from scratch.

1 Comment