> For the complete documentation index, see [llms.txt](https://docs.keyfax.biz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keyfax.biz/product-suite/admin/entities/databoxes/testing-databoxes-and-expressions.md).

# Testing Databoxes & Expressions

Ensuring everything works as expected!

Expressions can be created against all types of Databox except Company Data (aka Fixed Text).

Wherever you create Expressions, a Test facility is provided. In essence, it will allow you to evaluate what happens when certain data is encountered by the Databox.

When you click **Test** (in the Editing pane, not the main menu) a popup window will appear where you can supply a value for the Databox by entering a value. Then click **Evaluate**.&#x20;

Any errors will be reported but, if all is well, you will see the results of the Expressions:

<div align="center"><figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2Frf5KK2273vk9cd3sP793%2F2023-06-26_11h38_20.png?alt=media&amp;token=37c4b7ae-dd8c-4264-b289-7e8f0ceaf268" alt=""><figcaption><p>Testing your Expressions</p></figcaption></figure></div>

### Here's an idea...

You might find that it's a useful idea to have a 'scratch' Databox whose only purpose is to house a number of example Expressions which you can use to test and confirm that the (sometimes esoteric!) formatting is correct. Here's such a random selection:

<div align="center"><figure><img src="https://2882349412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MARm6St_qFGM52R3pBa%2Fuploads%2FprSnYyKOP8ruZNm7viXX%2F2023-06-26_11h43_28.png?alt=media&amp;token=80a4d1bc-e991-41d3-9f61-c365fbfee5c5" alt=""><figcaption><p>Example Expressions</p></figcaption></figure></div>
