LOGO
Log In

Testing a template

The Test button in a template's header opens the test workspace, a full page that runs every mapping against a real file matter, so you can see exactly what each placeholder resolves to, and the document as it will print, before generating a live one.

Running a test

  1. 1Click the template name on the left side to open its mapping panel.
  2. 2Click Test in the header. The test workspace opens over the whole page, with an amber bar across the top.
  3. 3Pick the file matter to test against, from the file picker in the bar or the larger one in the middle of the page, searching by file number. Picking it runs the test: every mapping is evaluated against that file and the document is prepared, while the bar says how far it has got. When the template asks for manual values, nothing is drawn yet: fill them in at the top of the report, and the test runs on its own once the last one is filled in. A choice counts as soon as you pick it, a typed value once you leave the box or press Enter. To run with any left blank, press Run in the middle of the page or in the bar.

To test against another file, pick it in the bar; the test runs again against that file.

Reading the results

After the test runs, the document appears on the left, drawn as it will print, and its report on the right. The divider between them drags. A package's test also lists its files down the left, and the list folds away to give the document more room.

  • The chip beside the document's name: says at a glance whether every placeholder resolved, how many print blank, how many need checking, or how many produced errors.
  • Report: lists each placeholder with its source path under it, the resolved value (what will appear in the generated document), and a status badge when the row needs a look, such as an error. Hover over a source path cut short, or a value cut short at four lines, to read all of it.
  • A filtered list: a loop row that lists only some of its items reads “2 of 3 items” — what it printed, of what it chose from — and names the filter beside its kind.
  • Manual values: type them in the block at the top of the report. The report follows at once; the document follows when you press Run again, which shows a dot until you do. Run again on its own runs the whole test, which picks up changes made to the file since. After a change to a manual value it regenerates only the files your change touched, and says how many; in a package's test, a menu then appears beside it with Run everything again for the whole test. The test uses changes to the mapping you have not saved yet, and the report says when it is using them.
  • Download the test: gives the .docx file with all test values substituted in, so you can open it in Word, or a PDF.
  • A package's test: in All documents as one, the list follows the page, and clicking a file goes to its pages. A document the file leaves out can still be drawn from its page with Generate with existing data anyway.
  • Nothing is recorded: the test is kept for 15 minutes, then run it again. Exit test (or Escape) takes you back to the template as you left it, unsaved changes and all.

Empty resolved values

A blank Resolved Value column means one of two things:

  • The mapping is incorrect. For example, the wrong field is selected or an expression has a typo.
  • The value is genuinely empty in the selected file matter. The field exists and the mapping is fine, but no data has been entered for it yet.

Check the field in the file matter before concluding there is a mapping error. Blank values still count as resolved (the status badge shows ok), because the placeholder was found and replaced. It just happens to be empty.

Choosing the right file matter

The file picker only shows file matters that match the template's configured file type (Purchase, Sale, Mortgage, etc.).

If you can't find the file matter you want to test against, check two things:

  • Template configuration: open the Settings tab and confirm the template is set to the correct file type. If it's set to the wrong type, the file matter you want won't appear.
  • File matter type: confirm that the file matter itself is the type you expect (check its file type in the file matter's details).